AWS SDK for .NET Documentation
Primitive Class
AmazonAmazon.DynamoDB.DocumentModelPrimitive Did this page help you?   Yes   No    Tell us about it...
A DynamoDBEntry that represents a primitive DynamoDB type
Declaration Syntax
C#
public class Primitive : DynamoDBEntry
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Primitive()()()()
Constructs an empty Primitive

Primitive(String)
Constructs a Primitive with the specified value. Value is stored as a string, not numeric.

Primitive(String, Boolean)
Constructs a Primitive with the specified value and specifies whether it should be stored as a number or not.

Primitive(MemoryStream)
Constructs a Binary Primitive with the specified MemoryStream value. Note: Primitive's Value is set to the stream's ToArray() response.

Primitive(array<Byte>[]()[][])
Constructs a Binary Primitive with the specified byte[] value.

AsBoolean()()()()
Explicitly convert Primitive to Boolean
(Overrides DynamoDBEntry.AsBoolean()()()().)
AsByte()()()()
Explicitly convert Primitive to Byte
(Overrides DynamoDBEntry.AsByte()()()().)
AsByteArray()()()()
Explicitly convert Primitive to byte[]
(Overrides DynamoDBEntry.AsByteArray()()()().)
AsChar()()()()
Explicitly convert Primitive to Char
(Overrides DynamoDBEntry.AsChar()()()().)
AsDateTime()()()()
Explicitly convert Primitive to DateTime
(Overrides DynamoDBEntry.AsDateTime()()()().)
AsDecimal()()()()
Explicitly convert Primitive to Decimal
(Overrides DynamoDBEntry.AsDecimal()()()().)
AsDouble()()()()
Explicitly convert Primitive to Double
(Overrides DynamoDBEntry.AsDouble()()()().)
AsGuid()()()()
Explicitly convert Primitive to Guid
(Overrides DynamoDBEntry.AsGuid()()()().)
AsInt()()()()
Explicitly convert Primitive to Int32
(Overrides DynamoDBEntry.AsInt()()()().)
AsListOfByteArray()()()()
Explicitly convert DynamoDBEntry to List<byte[]>
(Inherited from DynamoDBEntry.)
AsListOfMemoryStream()()()()
Explicitly convert DynamoDBEntry to List<MemoryStream>
(Inherited from DynamoDBEntry.)
AsListOfPrimitives()()()()
Explicitly convert DynamoDBEntry to List<Primitive>
(Inherited from DynamoDBEntry.)
AsListOfString()()()()
Explicitly convert DynamoDBEntry to List<String>
(Inherited from DynamoDBEntry.)
AsLong()()()()
Explicitly convert Primitive to Int64
(Overrides DynamoDBEntry.AsLong()()()().)
AsMemoryStream()()()()
Explicitly convert Primitive to MemoryStream
(Overrides DynamoDBEntry.AsMemoryStream()()()().)
AsPrimitive()()()()
Convert DynamoDBEntry to Primitive
(Inherited from DynamoDBEntry.)
AsPrimitiveList()()()()
Convert DynamoDBEntry to PrimitiveList
(Inherited from DynamoDBEntry.)
AsSByte()()()()
Explicitly convert Primitive to SByte
(Overrides DynamoDBEntry.AsSByte()()()().)
AsShort()()()()
Explicitly convert Primitive to Int16
(Overrides DynamoDBEntry.AsShort()()()().)
AsSingle()()()()
Explicitly convert Primitive to Single
(Overrides DynamoDBEntry.AsSingle()()()().)
AsString()()()()
Explicitly convert Primitive to String
(Overrides DynamoDBEntry.AsString()()()().)
AsUInt()()()()
Explicitly convert Primitive to UInt32
(Overrides DynamoDBEntry.AsUInt()()()().)
AsULong()()()()
Explicitly convert Primitive to UInt64
(Overrides DynamoDBEntry.AsULong()()()().)
AsUShort()()()()
Explicitly convert Primitive to UInt16
(Overrides DynamoDBEntry.AsUShort()()()().)
Clone()()()() (Overrides DynamoDBEntry.Clone()()()().)
Equals(Object) (Overrides Object.Equals(Object).)
ExplicitNarrowingExplicitExplicitExplicit(Primitive to Boolean)
Explicitly convert Primitive to Boolean

ExplicitNarrowingExplicitExplicitExplicit(Primitive to Byte)
Explicitly convert Primitive to Byte

ExplicitNarrowingExplicitExplicitExplicit(Primitive to SByte)
Explicitly convert Primitive to SByte

ExplicitNarrowingExplicitExplicitExplicit(Primitive to UInt16)
Explicitly convert Primitive to UInt16

ExplicitNarrowingExplicitExplicitExplicit(Primitive to Int16)
Explicitly convert Primitive to Int16

ExplicitNarrowingExplicitExplicitExplicit(Primitive to UInt32)
Explicitly convert Primitive to UInt32

ExplicitNarrowingExplicitExplicitExplicit(Primitive to Int32)
Explicitly convert Primitive to Int32

ExplicitNarrowingExplicitExplicitExplicit(Primitive to UInt64)
Explicitly convert Primitive to UInt64

ExplicitNarrowingExplicitExplicitExplicit(Primitive to Int64)
Explicitly convert Primitive to Int64

ExplicitNarrowingExplicitExplicitExplicit(Primitive to Single)
Explicitly convert Primitive to Single

ExplicitNarrowingExplicitExplicitExplicit(Primitive to Double)
Explicitly convert Primitive to Double

ExplicitNarrowingExplicitExplicitExplicit(Primitive to Decimal)
Explicitly convert Primitive to Decimal

ExplicitNarrowingExplicitExplicitExplicit(Primitive to Char)
Explicitly convert Primitive to Char

ExplicitNarrowingExplicitExplicitExplicit(Primitive to DateTime)
Explicitly convert Primitive to DateTime

ExplicitNarrowingExplicitExplicitExplicit(Primitive to Guid)
Explicitly convert Primitive to Guid

ExplicitNarrowingExplicitExplicitExplicit(Primitive to array<Byte>[]()[][])
Explicitly convert Primitive to byte[]

ExplicitNarrowingExplicitExplicitExplicit(Primitive to MemoryStream)
Explicitly convert Primitive to MemoryStream

GetHashCode()()()() (Overrides Object.GetHashCode()()()().)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ImplicitWideningImplicitImplicitImplicit(Boolean to Primitive)
Implicitly convert Boolean to Primitive

ImplicitWideningImplicitImplicitImplicit(Byte to Primitive)
Implicitly convert Byte to Primitive

ImplicitWideningImplicitImplicitImplicit(SByte to Primitive)
Implicitly convert SByte to Primitive

ImplicitWideningImplicitImplicitImplicit(UInt16 to Primitive)
Implicitly convert UInt16 to Primitive

ImplicitWideningImplicitImplicitImplicit(Int16 to Primitive)
Implicitly convert Int16 to Primitive

ImplicitWideningImplicitImplicitImplicit(UInt32 to Primitive)
Implicitly convert UInt32 to Primitive

ImplicitWideningImplicitImplicitImplicit(Int32 to Primitive)
Implicitly convert Int32 to Primitive

ImplicitWideningImplicitImplicitImplicit(UInt64 to Primitive)
Implicitly convert UInt64 to Primitive

ImplicitWideningImplicitImplicitImplicit(Int64 to Primitive)
Implicitly convert Int64 to Primitive

ImplicitWideningImplicitImplicitImplicit(Single to Primitive)
Implicitly convert Single to Primitive

ImplicitWideningImplicitImplicitImplicit(Double to Primitive)
Implicitly convert Double to Primitive

ImplicitWideningImplicitImplicitImplicit(Decimal to Primitive)
Implicitly convert Decimal to Primitive

ImplicitWideningImplicitImplicitImplicit(Char to Primitive)
Implicitly convert Char to Primitive

ImplicitWideningImplicitImplicitImplicit(String to Primitive)
Implicitly convert String to Primitive

ImplicitWideningImplicitImplicitImplicit(Primitive to String)
Explicitly convert Primitive to String

ImplicitWideningImplicitImplicitImplicit(DateTime to Primitive)
Implicitly convert DateTime to Primitive

ImplicitWideningImplicitImplicitImplicit(Guid to Primitive)
Implicitly convert Guid to Primitive

ImplicitWideningImplicitImplicitImplicit(array<Byte>[]()[][] to Primitive)
Implicitly convert byte[] to Primitive

ImplicitWideningImplicitImplicitImplicit(MemoryStream to Primitive)
Implicitly convert MemoryStream to Primitive

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Type
Type of this primitive object

Value
Value of the Primitive. If Type is String or Numeric, this property is a string. If Type is Binary, this property is a byte array.

Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)