TaxonomySession.GetTerms method (Guid[])

Gets a set of Term objects based on Term IDs. If a Term is part of more than one TermSet object, it will arbitrarily return the Term object from one of the TermSet objects.

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

Syntax

'Declaration
Public Function GetTerms ( _
    termIds As Guid() _
) As TermCollection
'Usage
Dim instance As TaxonomySession
Dim termIds As Guid()
Dim returnValue As TermCollection

returnValue = instance.GetTerms(termIds)
public TermCollection GetTerms(
    Guid[] termIds
)

Parameters

  • termIds
    Type: []

    A list of Term IDs.

Return value

Type: Microsoft.SharePoint.Taxonomy.TermCollection

See also

Reference

TaxonomySession class

TaxonomySession members

GetTerms overload

Microsoft.SharePoint.Taxonomy namespace