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.GetByIndex

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;

Parameters

index
The index of the value to retrieve.

Return Value

The value 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 | IndexOfKey | IndexOfValue