Share via


Term.GetPath method

Gets the path for the current Term in the specified lcid.

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

Syntax

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

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

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<String>
The Term path.

Remarks

The path is composed of the default Label objects of ancestor Term objects, separated by: ;.

If the lcid is not a valid TermStore language, then the default language is used.

See also

Reference

Term class

Term members

Microsoft.SharePoint.Client.Taxonomy namespace