Spread Windows Forms 7.0 Product Documentation
GetKey Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > BaseKeyCollection Class : GetKey Method


index
The zero-based index of the element.

Glossary Item Box

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
Visual Basic (Usage)Copy Code
Dim instance As BaseKeyCollection
Dim index As Integer
Dim value As String
 
value = instance.GetKey(index)
C# 
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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.