DynamoDB property that marks up current member as a hash key element. Exactly one member in a class must be marked with this attribute. Members that are marked as hash key must be convertible to a Primitive object.

Namespace: Amazon.DynamoDB.DataModel
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DynamoDBHashKeyAttribute : DynamoDBPropertyAttribute
Public Class DynamoDBHashKeyAttribute _
	Inherits DynamoDBPropertyAttribute
public ref class DynamoDBHashKeyAttribute : public DynamoDBPropertyAttribute

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DynamoDBHashKeyAttribute()()()()
Initializes a new instance of the DynamoDBHashKeyAttribute class
AttributeName
Name of attribute that is associated with this member.
(Inherited from DynamoDBRenamableAttribute.)
Converter
Type of the custom converter.
(Inherited from DynamoDBPropertyAttribute.)
Equals(Object)
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from Attribute.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsDefaultAttribute()()()()
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Match(Object)
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)

Inheritance Hierarchy

See Also