Term.GetAllLabels - Méthode
Obtient tous les objets de Label pour le paramètre fourni lcid .
Espace de noms : Microsoft.SharePoint.Taxonomy
Assembly : Microsoft.SharePoint.Taxonomy (dans Microsoft.SharePoint.Taxonomy.dll)
Syntaxe
'Déclaration
Public Function GetAllLabels ( _
lcid As Integer _
) As LabelCollection
'Utilisation
Dim instance As Term
Dim lcid As Integer
Dim returnValue As LabelCollection
returnValue = instance.GetAllLabels(lcid)
public LabelCollection GetAllLabels(
int lcid
)
Paramètres
lcid
Type : System.Int32Le LCID pour les objets Label associés
Valeur renvoyée
Type : Microsoft.SharePoint.Taxonomy.LabelCollection
LabelCollection de cet objet Term pour le paramètre spécifié lcid .
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Le lcid n'est pas valide. |
Remarques
Si les objets Label existent pour le spécifiée lcid, la valeur par défaut Label est ajouté en premier à l'objet LabelCollection , suivie par les étiquettes par défaut.