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 labelsfor 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
lcid
Type: System.Int32The language to search in
Return Value
Type: Microsoft.SharePoint.Taxonomy.TermSetCollection
A collection of TermSet objects