NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SortedList.GetKey

Retrieves the key at the specified index of the SortedList.

[Visual Basic]
Overridable Public Function GetKey( _
   ByVal index As Integer _
) As Object
[C#]
public virtual object GetKey(
   int index
);
[C++]
public: virtual Object* GetKey(
   int index
);
[JScript]
public function GetKey(
   index : int
) : Object;

Parameters

index
The index of the key to retrieve.

Return Value

The key at the specified index of the SortedList.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException index is outside the range of valid indices for the SortedList.

Remarks

This method can be overridden by a derived class.

See Also

SortedList Class | SortedList Members | System.Collections Namespace