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.

The Amazon.DynamoDBv2.DocumentModel.ProjectionExpressionBuilder class is used to construct projection expressions for DynamoDB operations that support ProjectionExpression. A projection expression is a comma-separated list of attribute names (and nested paths) to retrieve.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DocumentModel.ExpressionBuilder
    Amazon.DynamoDBv2.DocumentModel.ProjectionExpressionBuilder

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

Syntax

C#
public class ProjectionExpressionBuilder : ExpressionBuilder
         IExpressionBuilder

The ProjectionExpressionBuilder type exposes the following members

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.7.2 or higher.

NameDescription
Public Method AddName(NameBuilder)

Adds an already constructed name operand to the projection expression.

Public Method Build() Inherited from Amazon.DynamoDBv2.DocumentModel.ExpressionBuilder.
Public Method NamesList(NameBuilder, NameBuilder[])

Adds one or more attribute names to a projection expression.

Public Method Static Method New()

Creates a new instance of the Amazon.DynamoDBv2.DocumentModel.ProjectionExpressionBuilder class.

Public Method WithName(string)

Adds an attribute name (or path) to the projection expression.

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