TermSet methods

The TermSet type exposes the following members.

Methods

  Name Description
Public method AddStakeholder Adds a stakeholder to the TermSet object.
Public method Copy Creates a copy of the TermSet object under the current parent Group object.
Public method CreateTerm(String, Int32) Creates a new Term below this TaxonomyItem instance.The name is the default Label for the LCID specified. (Inherited from TermSetItem.)
Public method CreateTerm(String, Int32, Guid) Creates a new Term object below this TaxonomyItem object.The name is the default Label for the specified LCID. (Inherited from TermSetItem.)
Public method Delete Deletes the current TermSet from the current Group object. (Overrides TaxonomyItem.Delete().)
Public method DeleteAllCustomProperties Deletes all custom properties from the TermSet. (Overrides TermSetItem.DeleteAllCustomProperties().)
Public method DeleteCustomProperty Deletes a custom property from the TermSet object. (Overrides TermSetItem.DeleteCustomProperty(String).)
Public method DeleteStakeholder Deletes a stakeholder from the TermSet object.
Public method DoesUserHavePermissions Verifies whether the current user has the permissions specified. (Inherited from TermSetItem.)
Public method Equals (Inherited from Object.)
Public method Export This method is not implemented.
Protected method Finalize (Inherited from Object.)
Public method GetAllTerms Returns a collection containing a flat list of all Term objects in the TermSet object.
Public method GetChanges(DateTime) Gets a collection of ChangedItem objects that represent changes to the current TermSet since a specified time.
Public method GetChanges(DateTime, ChangedItemType) Gets a collection of ChangedItem objects that represent changes to the current TermSet object since a specified time, restricted by item type.
Public method GetChanges(DateTime, ChangedItemType, ChangedOperationType) Gets a collection of ChangedItem objects that represent changes to the current TermSet since a specified time, restricted by item type and operation type.
Public method GetHashCode (Inherited from Object.)
Public method GetTerm Gets a Term from the current TermSet based on its ID.
Public method GetTerms(Int32) Gets a paged collection containing the child Term objects of this TermSetItem object (Inherited from TermSetItem.)
Public method GetTerms(String, Boolean) Gets a collection of all Term objects from the current TermSet that have a Label object that matches the string provided in any LCID.
Public method GetTerms(String, Int32, Boolean) Gets a collection of all Term objects from the current TermSet object with a Label in the specified LCID matching the string provided.
Public method GetTerms(String, Boolean, StringMatchOption, Int32, Boolean) Gets a collection of all Term objects from the current TermSet object with a Label matchingthe string provided in any LCID, with an option to only search default labels.
Public method GetTerms(String, Int32, Boolean, StringMatchOption, Int32, Boolean) Gets a collection of all Term objects from the current TermSet with a Label in the provided LCID matching the string provided, with an option to only search default labels.
Public method GetTermsWithCustomProperty(String, Boolean) Gets a collection of Term objects with a property that has the provided property name.
Public method GetTermsWithCustomProperty(String, Int32, Boolean) Gets a collection of Term objects with a property with the provided property name.
Public method GetTermsWithCustomProperty(String, String, Boolean) Gets a collection of Term objects with a custom property with the provided property name and the provided property value.
Public method GetTermsWithCustomProperty(String, String, StringMatchOption, Boolean) Gets a collection of Term objects with a custom property starting with or matching the provided property name and the provided property value.
Public method GetTermsWithCustomProperty(String, String, StringMatchOption, Int32, Boolean) Gets a collection of Term objects with a custom property starting with or matching the provided property name and the provided property value.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Move Moves the current TermSet into a different Group object,
Public method ReuseTerm Creates a new reused Term object below this TaxonomyItem object based on a sourceTerm. (Inherited from TermSetItem.)
Public method ReuseTermWithPinning Creates a new Term below a TaxonomyItem instance based on a sourceTerm and makes the Term pinned so that only the local custom properties, IsAvailableForTagging, and custom sort order for the TermSet can be changed in the TermSet object. (Inherited from TermSetItem.)
Public method SetCustomProperty Adds a new custom property with the name if no property exists or updates the value of an existing property. (Overrides TermSetItem.SetCustomProperty(String, String).)
Public method ToString (Inherited from Object.)

Top

See also

Reference

TermSet class

Microsoft.SharePoint.Taxonomy namespace