SortedList<TKey,TValue>.SetValueAtIndex(Int32, TValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the value corresponding to the specified index.
public:
void SetValueAtIndex(int index, TValue value);
public void SetValueAtIndex (int index, TValue value);
member this.SetValueAtIndex : int * 'Value -> unit
Public Sub SetValueAtIndex (index As Integer, value As TValue)
Parameters
- index
- Int32
The zero-based index of the value within the entire SortedList<TKey,TValue>.
- value
- TValue
The value with which to replace the entry at the specified index.
Exceptions
The specified index was out of range.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.