Span<T>.Item[Int32] Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient l’élément au niveau de l’index de base zéro spécifié.
public:
property T % default[int] { T % get(int index); };
public ref T this[int index] { get; }
member this.Item(int) : 'T
Default Public ReadOnly Property Item(index As Integer) As T
Paramètres
- index
- Int32
Index de base zéro de l’élément.
Valeur de propriété
Élément au niveau de l'index spécifié.
Exceptions
index est inférieur à zéro ou supérieur ou égal à Length.