Partilhar via


TaxonomySession.GetTerms Method

Include Protected Members
Include Inherited Members

Gets Term objects for the current TaxonomySession object.

Overload List

  Name Description
Public method GetTerms([]) Gets a set of Term objects based on Term.ID. If a Term is part of more than one TermSet object, it will arbitrarily return the Term from one of the TermSet objects.
Public method GetTerms(String, Boolean) Gets Term objects from all TermSet objects, which are not scoped to a SPSite object, from all TermStore objects with a Label matching the string provided.
Public method GetTerms(String, Int32, Boolean) Gets Term objects from all of the TermSet objects, which are not scoped to a SPSite object, from all TermStore objects with a Label object in the provided lcid matching the string provided.
Public method GetTerms(String, Boolean, StringMatchOption, Int32, Boolean) Searches Label objects in all working languages, and returns Term objects from all TermSet objects, which are not scoped to a SPSite object, from all TermStore objects with a Label object matching the provided string.
Public method GetTerms(String, Int32, Boolean, StringMatchOption, Int32, Boolean, Boolean) Searches labels in the provided lcid, and returns Term objects from all TermSet objects, which are not scoped to a SPSite object, from all TermStore objects with a Label matching the provided string.

Top

See Also

Reference

TaxonomySession Class

TaxonomySession Members

Microsoft.SharePoint.Taxonomy Namespace