AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A DynamoDBEntry that represents a primitive list DynamoDB type

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry
    Amazon.DynamoDBv2.DocumentModel.PrimitiveList

Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public class PrimitiveList : DynamoDBEntry
         ICloneable, IEquatable<PrimitiveList>

The PrimitiveList type exposes the following members

Constructors

NameDescription
Public Method PrimitiveList()

Constructs an empty PrimitiveList. Values are configured to be saved as strings.

Public Method PrimitiveList(DynamoDBEntryType)

Constructs an empty PrimitiveList and specifies the type of its elements.

Properties

NameTypeDescription
Public Property Entries System.Collections.Generic.List<Amazon.DynamoDBv2.DocumentModel.Primitive>

Collection of Primitive entries

Public Property Item Amazon.DynamoDBv2.DocumentModel.Primitive
Public Property Type Amazon.DynamoDBv2.DocumentModel.DynamoDBEntryType

Type of Primitive items in the list

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method Add(Primitive)

Adds a Primitive to the end of the list.

Public Method AsArrayOfDynamoDBEntry() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsArrayOfPrimitive()

Explicitly convert DynamoDBEntry to Primitive[]

Public Method AsArrayOfString()

Explicitly convert DynamoDBEntry to String[]

Public Method AsBoolean() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsByte() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsByteArray() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsChar() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsDateTime() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsDateTimeUtc() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsDecimal() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsDocument() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsDouble() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsDynamoDBBool() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsDynamoDBList() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsDynamoDBNull() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsGuid() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsHashSetOfByteArray()

Explicitly convert PrimitiveList to HashSet

Public Method AsHashSetOfDynamoDBEntry() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsHashSetOfMemoryStream() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsHashSetOfPrimitive()

Explicitly convert PrimitiveList to HashSet

Public Method AsHashSetOfString()

Explicitly convert DynamoDBEntry to HashSet

Public Method AsInt() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsListOfByteArray()

Explicitly convert PrimitiveList to byte[]

Public Method AsListOfDocument() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsListOfDynamoDBEntry() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsListOfMemoryStream()

Explicitly convert PrimitiveList to List

Public Method AsListOfPrimitive()

Explicitly convert PrimitiveList to List

Public Method AsListOfString()

Explicitly convert PrimitiveList to List

Public Method AsLong() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsMemoryStream() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsPrimitive() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsPrimitiveList() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsSByte() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsShort() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsSingle() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsString() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsUInt() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsULong() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method AsUShort() Inherited from Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry.
Public Method Clone()

Implement the Clone method.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5