PropertyCollection<T>.Item - Propriété (String)
Obtient un indexeur de chaîne pour 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 String _
) As T
Get
'Utilisation
Dim instance As PropertyCollection
Dim index As String
Dim value As T
value = instance(index)
public T this[
string index
] { get; }
Paramètres
- index
Type : System.String
Valeur de propriété
Type : T
L'élément de collection à l'index spécifié
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException |
Remarques
L'indexeur de chaîne confronte les propriétés suivantes pour les collections dérivées : LabelCollection - Value