Share via


Term.GetPath method (Int32)

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

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

Syntax

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

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

Parameters

Return value

Type: System.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

GetPath overload

Microsoft.SharePoint.Taxonomy namespace