Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / BaseKeyCollection Class / GetKey Method
The zero-based index of the element.


In This Topic
    GetKey Method
    In This Topic
    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