Share via


TaxonomySession.GetTermSetsByTermLabel method

Gets all of the TermSet objects from all of the TermStore objects that contain Term objects with matching LCID specific labels for all specified strings.

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

Syntax

'Declaration
Public Function GetTermSetsByTermLabel ( _
    requiredTermLabels As String(), _
    lcid As Integer _
) As TermSetCollection
'Usage
Dim instance As TaxonomySession
Dim requiredTermLabels As String()
Dim lcid As Integer
Dim returnValue As TermSetCollection

returnValue = instance.GetTermSetsByTermLabel(requiredTermLabels, _
    lcid)
public TermSetCollection GetTermSetsByTermLabel(
    string[] requiredTermLabels,
    int lcid
)

Parameters

  • requiredTermLabels
    Type: []

    A list of strings to search.

Return value

Type: Microsoft.SharePoint.Client.Taxonomy.TermSetCollection
A collection of TermSet objects.

See also

Reference

TaxonomySession class

TaxonomySession members

Microsoft.SharePoint.Client.Taxonomy namespace