SortedList.SetByIndex Method (Int32, Object)
Replaces the value at a specific index in a SortedList object.
Assembly: mscorlib (in mscorlib.dll)
The index sequence is based on the sort sequence. When an element is added, it is inserted into SortedList in the correct sort order, and the indexing adjusts accordingly. When an element is removed, the indexing also adjusts accordingly. Therefore, the index of a specific key/value pair might change as elements are added or removed from the SortedList object.
This method is an O(1) operation.
Available since 10
Available since 1.1