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;
The key at the specified index of the SortedList.
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | index is outside the range of valid indices for the SortedList. |
This method can be overridden by a derived class.
SortedList Class | SortedList Members | System.Collections Namespace