Struct StringSetElement
- Namespace
- DynaSharp.Serialization
- Assembly
- DynaSharp.dll
The elements of a string set (SS): string.
public readonly struct StringSetElement : IDynamoDbSetElementConverter<string>
- Implements
- Inherited Members
Remarks
DynamoDB accepts the empty string as an element; both emulators and the service do. Elements are compared ordinally.
Explicit Interface Implementations
ReadElement(ref DynamoDbReader)
Reads the element the reader is positioned on, with the reader's getter for SetType. Reads nothing beyond the element.
static string ReadElement(ref DynamoDbReader reader)
Parameters
readerDynamoDbReaderThe reader, positioned on an element after TryReadSetElement() returned true.
Returns
- string
The element.
SetType
static AttributeType SetType { get; }
Returns
WriteElement(DynamoDbWriter, string)
Writes one element, with the writer's Write...SetElement method for SetType.
static void WriteElement(DynamoDbWriter writer, string value)
Parameters
writerDynamoDbWriterThe writer, inside a set that SetType started.
valuestringThe element.
Exceptions
- ArgumentNullException
valueis null.