Spread Windows Forms 11.0 Product Documentation
GetKey Method


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > BaseKeyCollection Class : 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.
See Also

Reference

BaseKeyCollection Class
BaseKeyCollection Members