Gets the key at the specified index of the SortedListEx.
Namespace: Spire.Doc.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public virtual TKey GetKey( int index )
Public Overridable Function GetKey ( index As Integer ) As TKey
public: virtual TKey GetKey( int index )
abstract GetKey : index : int -> 'TKey override GetKey : index : int -> 'TKey
Parameters
- index
- Int32
The zero-based index of the key to get.
Return Value
TKeyThe key at the specified index of the SortedListEx.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentOutOfRangeException | When index is less than zero or greater than size of the list. |