Represents a single element of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.
 Declaration Syntax
 Declaration Syntax| C# | 
public class KeySchemaElement
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | KeySchemaElement()()()() | Initializes a new instance of the KeySchemaElement class | 
|  | AttributeName | 
            The name of a key attribute.
             
             Constraints: | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType()()()() | Gets the type of the current instance.(Inherited from Object.) | 
|  | KeyType | 
            The attribute data, consisting of the data type and the attribute value itself.
             
             Constraints: | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithAttributeName(String) | Obsolete. 
            Sets the AttributeName property
             | 
|  | WithKeyType(String) | Obsolete. 
            Sets the KeyType property
             | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | KeySchemaElement |