Share via


TaxonomySession.GetTermsById method

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.Client.Taxonomy
Assembly:  Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)

Syntax

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

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

Parameters

  • termIds
    Type: []

    A list of Term IDs.

Return value

Type: Microsoft.SharePoint.Client.Taxonomy.TermCollection
A CSOM array of CSOM GUID.

See also

Reference

TaxonomySession class

TaxonomySession members

Microsoft.SharePoint.Client.Taxonomy namespace