Term.GetDefaultLabel Method
Gets the default Label for this Term based on LCID.
Namespace: Microsoft.SharePoint.Taxonomy
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public Function GetDefaultLabel ( _
lcid As Integer _
) As String
'Usage
Dim instance As Term
Dim lcid As Integer
Dim returnValue As String
returnValue = instance.GetDefaultLabel(lcid)
public string GetDefaultLabel(
int lcid
)
Parameters
lcid
Type: System.Int32The LCID the default Label is associated with
Return Value
Type: System.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. |