Term.GetDefaultLabel method

Gets the default Label for this Term based on LCID.

Namespace:  Microsoft.SharePoint.Client.Taxonomy
Assembly:  Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)

Syntax

'Declaration
Public Function GetDefaultLabel ( _
    lcid As Integer _
) As ClientResult(Of String)
'Usage
Dim instance As Term
Dim lcid As Integer
Dim returnValue As ClientResult(Of String)

returnValue = instance.GetDefaultLabel(lcid)
public ClientResult<string> GetDefaultLabel(
    int lcid
)

Parameters

  • lcid
    Type: System.Int32

    The LCID the default Label is associated with

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>
The name of the default Label or an empty string when there is no default Label for the LCID.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The LCID is not valid.

See also

Reference

Term class

Term members

Microsoft.SharePoint.Client.Taxonomy namespace