Share via


NavigationTerm.GetTaxonomyTerm method (TaxonomySession)

Retrieves the corresponding taxonomy object (e.g., Term) from the TaxonomySession object provided.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Function GetTaxonomyTerm ( _
    taxonomySession As TaxonomySession _
) As Term
'Usage
Dim instance As NavigationTerm
Dim taxonomySession As TaxonomySession
Dim returnValue As Term

returnValue = instance.GetTaxonomyTerm(taxonomySession)
public Term GetTaxonomyTerm(
    TaxonomySession taxonomySession
)

Parameters

Return value

Type: Microsoft.SharePoint.Taxonomy.Term
A new Term object.

Remarks

This method uses the GUID identifiers from the TermStoreId property, Id() property, and Id() property.

See also

Reference

NavigationTerm class

NavigationTerm members

GetTaxonomyTerm overload

Microsoft.SharePoint.Publishing.Navigation namespace