Gets the key of the element with the specified index in the collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Function GetKey( _
ByVal index As Integer _
) As String |
Parameters
- index
- The zero-based index of the element.
Return Value
The key of the element if the index is a valid one; otherwise,
System.String.Empty.
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also