TaxonomySession.GetTermSets method (String[], Int32)

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

Syntax

'Declaration
Public Function GetTermSets ( _
    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.GetTermSets(requiredTermLabels, _
    lcid)
public TermSetCollection GetTermSets(
    string[] requiredTermLabels,
    int lcid
)

Parameters

  • requiredTermLabels
    Type: []

    A list of strings to search.

Return value

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

See also

Reference

TaxonomySession class

TaxonomySession members

GetTermSets overload

Microsoft.SharePoint.Taxonomy namespace