Compartilhar 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