Method GetKeyAtIndex
GetKeyAtIndex(Int32)
Gets the key at the specified index.
Declaration
public string GetKeyAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | Zero-based index of the key. |
Returns
| Type | Description |
|---|---|
| String | The key at the index |
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | If
index is less than 0 or equal to or greater
than Count |