Term.GetDefaultLabel - Méthode

Obtient la valeur par défaut Label pour ce Term basé sur le LCID.

Espace de noms :  Microsoft.SharePoint.Taxonomy
Assembly :  Microsoft.SharePoint.Taxonomy (dans Microsoft.SharePoint.Taxonomy.dll)

Syntaxe

'Déclaration
Public Function GetDefaultLabel ( _
    lcid As Integer _
) As String
'Utilisation
Dim instance As Term
Dim lcid As Integer
Dim returnValue As String

returnValue = instance.GetDefaultLabel(lcid)
public string GetDefaultLabel(
    int lcid
)

Paramètres

  • lcid
    Type : System.Int32

    Le LCID par défaut étiquette est associée

Valeur renvoyée

Type : System.String
Le nom de la valeur par défaut Label ou une chaîne vide lorsqu'il n'y a pas de valeur par défaut Label pour le LCID.

Exceptions

Exception Condition
ArgumentOutOfRangeException

Le LCID n'est pas valide.

Voir aussi

Référence

Term classe

Term - Membres

Microsoft.SharePoint.Taxonomy - Espace de noms