Replaces the value at a specific index in a SortedList object.
Assembly: mscorlib (in mscorlib.dll)
abstract SetByIndex : index:int * value:Object -> unit override SetByIndex : index:int * value:Object -> unit
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.