SortedList<TKey,TValue>.SetValueAtIndex(Int32, TValue) Metoda

Definicja

Aktualizacje wartość odpowiadającą określonemu indeksowi.

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)

Parametry

index
Int32

Indeks zerowy wartości w obrębie całej SortedList<TKey,TValue>wartości .

value
TValue

Wartość, z którą ma zastąpić wpis w określonym indeksie.

Wyjątki

Określony indeks był poza zakresem.

Dotyczy