GenericCollection<T>.Item - Propriété
Obtient un indexeur d'entier de cette collection.
Espace de noms : Microsoft.SharePoint.Taxonomy.Generic
Assembly : Microsoft.SharePoint.Taxonomy (dans Microsoft.SharePoint.Taxonomy.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As T
Get
'Utilisation
Dim instance As GenericCollection
Dim index As Integer
Dim value As T
value = instance(index)
public T this[
int index
] { get; }
Paramètres
index
Type : System.Int32Index de l'élément à retourner.
Valeur de propriété
Type : T
L'élément d'index-th à partir de la Collection.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException |