Retrieves the value at the specified index of the SortedList.
[Visual Basic] Overridable Public Function GetByIndex( _ ByVal index As Integer _ ) As Object [C#] public virtual object GetByIndex( int index ); [C++] public: virtual Object* GetByIndex( int index ); [JScript] public function GetByIndex( index : int ) : Object;
The value 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 | IndexOfKey | IndexOfValue