Method GetKeyAtIndex
GetKeyAtIndex(int)
Gets the key at the specified index.
Declaration
public string GetKeyAtIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | 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 |