AWS SDK Version 4 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.

Adds an "ADD" operation to the update expression, which adds a new attribute or modifies an existing one. If the attribute is a number, the value is added or subtracted. If the attribute is a set, the value is appended.

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

Syntax

C#
public UpdateExpressionBuilder Add(
         NameBuilder nameBuilder,
         ValueBuilder valueBuilder
)

Parameters

nameBuilder
Type: Amazon.DynamoDBv2.DocumentModel.NameBuilder

The representing the attribute name.

valueBuilder
Type: Amazon.DynamoDBv2.DocumentModel.ValueBuilder

The representing the value to add.

Return Value


The current instance for chaining additional operations.

Version Information

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

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer