[]
Gets the key of the element with the specified index in the collection.
public virtual string GetKey(int index)
Public Overridable Function GetKey(index As Integer) As String
Type | Name | Description |
---|---|---|
int | index | The zero-based index of the element. |
Type | Description |
---|---|
string | The key of the element if the index is a valid one; otherwise, Empty. |