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.

Serializes an object to a Document.

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

Syntax

C#
public virtual Document ToDocument(
         T value,
         DynamoDBOperationConfig operationConfig
)

Parameters

value
Type: T

Object to serialize.

operationConfig
Type: Amazon.DynamoDBv2.DataModel.DynamoDBOperationConfig

Config object which can be used to override the table used.

Return Value


Type: Document
Document with attributes populated from object.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5