Share via


NavigationTermSet.GetTaxonomyTermSet method (TaxonomySession)

Retrieves the corresponding taxonomy TermSet object from the provided TaxonomySession object.

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

Syntax

'Declaration
Public Function GetTaxonomyTermSet ( _
    taxonomySession As TaxonomySession _
) As TermSet
'Usage
Dim instance As NavigationTermSet
Dim taxonomySession As TaxonomySession
Dim returnValue As TermSet

returnValue = instance.GetTaxonomyTermSet(taxonomySession)
public TermSet GetTaxonomyTermSet(
    TaxonomySession taxonomySession
)

Parameters

Return value

Type: Microsoft.SharePoint.Taxonomy.TermSet
TermSet object from the provided TaxonomySession object.

Remarks

This method uses the GUID identifiers from the TermStoreId property and Id() property to retrieve the corresponding TermSet object from the taxonomy system.

See also

Reference

NavigationTermSet class

NavigationTermSet members

GetTaxonomyTermSet overload

Microsoft.SharePoint.Publishing.Navigation namespace