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

Saves the value at a specific index in the SortedList.

[Visual Basic]
Overridable Public Sub SetByIndex( _
   ByVal index As Integer, _
   ByVal value As Object _
)
[C#]
public virtual void SetByIndex(
   int index,
   object value
);
[C++]
public: virtual void SetByIndex(
   int index,
   Object* value
);
[JScript]
public function SetByIndex(
   index : int,
   value : Object
);

Parameters

index
The index at which to save value.
value
The Object to save into the SortedList.

Return Value

None.

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