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 a condition to the query that specifies the hash key must equal the given value.

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

Syntax

C#
public QueryConditional AndHashKeyEqualTo(
         String hashKeyName,
         Object value
)

Parameters

hashKeyName
Type: System.String

The name of the hash key to be matched.

value
Type: System.Object

The value that the hash key must equal.

Return Value


The current instance with the added condition.

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