Spread Windows Forms 8.0 Product Documentation
GetKey Method


The zero-based index of the element.
Gets the key of the element with the specified index in the collection.
Syntax
'Declaration
 
Public Overridable Function GetKey( _
   ByVal index As Integer _
) As String
'Usage
 
Dim instance As BaseKeyCollection
Dim index As Integer
Dim value As String
 
value = instance.GetKey(index)
public virtual string GetKey( 
   int index
)

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

Reference

BaseKeyCollection Class
BaseKeyCollection Members

 

 


Copyright © GrapeCity, inc. All rights reserved.