Compartilhar via


TermSet Members

Include Protected Members
Include Inherited Members

Represents a hierarchical or flat set of Term objects known as a "TermSet".

The TermSet type exposes the following members.

Properties

  Name Description
Public property Contact Gets and sets the contact for the current TermSet object.
Public property CreatedDate Gets the DateTime at which this item was created. (Inherited from TaxonomyItem.)
Public property CustomSortOrder Gets or sets the custom sort order of the current Term object. (Overrides TermSetItem.CustomSortOrder.)
Public property Description Gets and sets the description for the current TermSet object.
Public property Group Gets the parent Group object of the current TermSet object.
Public property Id Gets the Id of the current T:Microsoft.SharePoint.Taxonomy.TaxonomyItem. (Inherited from TaxonomyItem.)
Public property IsAvailableForTagging Gets or sets whether the TermSet object should appear in the tagging user interface. (Overrides TermSetItem.IsAvailableForTagging.)
Public property IsOpenForTermCreation Indicates whether the TermSet can be updated by all users, or alternatively just by the specified constributors for the Group object.
Public property LastModifiedDate Gets the DateTime at which this item was most recently updated. (Inherited from TaxonomyItem.)
Public property Name Gets and sets the name for the current TermSet object. (Overrides TaxonomyItem.Name.)
Public property Owner Gets or sets the user who is responsible for the current TermSet. (Overrides TermSetItem.Owner.)
Public property Stakeholders Gets the collection of stakeholders for the current TermSet object.
Public property Terms Gets a collection of child Term objects at the root of the TermSet object. (Overrides TermSetItem.Terms.)
Public property TermStore Gets the TermStore object from which the current TaxonomyItem was retrieved. (Inherited from TaxonomyItem.)

Top

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 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 ToString (Inherited from Object.)

Top

See Also

Reference

TermSet Class

Microsoft.SharePoint.Taxonomy Namespace