SortedList<TKey,TValue>.GetValueAtIndex(Int32) Méthode

Définition

Obtient la valeur correspondant à l’index spécifié.

public:
 TValue GetValueAtIndex(int index);
public TValue GetValueAtIndex(int index);
member this.GetValueAtIndex : int -> 'Value
Public Function GetValueAtIndex (index As Integer) As TValue

Paramètres

index
Int32

Index de base zéro de la valeur dans l’ensemble SortedList<TKey,TValue>.

Retours

TValue

Valeur correspondant à l’index spécifié.

Exceptions

L’index spécifié était hors plage.

S’applique à