Share via


TermSet members

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

The TermSet type exposes the following members.

Constructors

  Name Description
Public method TermSet Initializes a new instance of a TermSet object.

Top

Properties

  Name Description
Public property Contact Gets and sets the contact for the current TermSet object.
Public property Context Returns the context that is associated with the client object. (Inherited from ClientObject.)
Public property CreatedDate Gets the DateTime at which this item was created. (Inherited from TaxonomyItem.)
Public property CustomProperties Gets the collection of effective CustomProperty instances for a Term object or TermSet object. (Inherited from TermSetItem.)
Public property CustomSortOrder Gets the custom sort order for children of the current item. (Inherited from TermSetItem.)
Public property Description Gets and sets the description for the current TermSet object.
Public property Group Gets the parent TermGroup object of the current TermSet object.
Public property Id Gets the Id of the current TaxonomyItem. (Inherited from TaxonomyItem.)
Public property IsAvailableForTagging Gets whether the TaxonomyItem object should appear in the tagging UI. (Inherited from TermSetItem.)
Public property IsOpenForTermCreation Indicates whether the TermSet can be updated by all users, or alternatively just by the specified constributors for the TermGroup object.
Public property LastModifiedDate Gets the DateTime at which this item was most recently updated. (Inherited from TaxonomyItem.)
Public property Name Gets or sets the name of the current TaxonomyItem object. (Inherited from TaxonomyItem.)
Public property Names
Protected property ObjectData Gets the object data for the current client object. (Inherited from ClientObject.)
Public property ObjectVersion Gets a string that indicates the version of the current client object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public property Owner Gets the name of the user who is responsible for the TaxonomyItem object. (Inherited from TermSetItem.)
Public property Path Tracks how a client object is created in the ClientRuntimeContext class so that the object can be recreated on the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public property ServerObjectIsNull Gets the server object and returns null if the server object is null. (Inherited from ClientObject.)
Public property Stakeholders Gets the collection of stakeholders for the current TermSet object.
Public property Tag Gets or sets data that is associated with the client object. (Inherited from ClientObject.)
Public property Terms Gets a collection of the child Term objects of this TaxonomyItem. (Inherited from TermSetItem.)
Public property TermStore Gets the TermStore object from which the current TaxonomyItem was retrieved. (Inherited from TaxonomyItem.)
Public property TypedObject Gets the object with the correct type information returned from the server. (Inherited from ClientObject.)

Top

Methods

  Name Description
Public method AddStakeholder Adds a stakeholder to the TermSet object.
Protected method CheckUninitializedProperty Checks to determine whether the specified value type property of a ClientObject has been initialized. (Inherited from ClientObject.)
Public method Copy Creates a copy of the TermSet object under the current parent TermGroup object.
Public method CreateTerm Creates a new Term below this TaxonomyItem instance. (Inherited from TermSetItem.)
Public method CustomFromJson Returns a Boolean value that indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method DeleteAllCustomProperties Deletes all custom properties from this item. (Inherited from TermSetItem.)
Public method DeleteCustomProperty Deletes a specific custom property from this item. (Inherited from TermSetItem.)
Public method DeleteObject Deletes the current TaxonomyItem object from the system. (Inherited from TaxonomyItem.)
Public method DeleteStakeholder Deletes a stakeholder from the TermSet object.
Public method ExportObject
Public method FromJson Indicates whether custom code was used to populate an object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method GetAllTerms Returns a collection containing a flat list of all Term objects in the TermSet object.
Public method GetAllTermsIncludeDeprecated
Public method GetChanges
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(LabelMatchInformation)
Public method GetTermsWithCustomProperty
Protected method InitNonPropertyFieldFromJson Initializes a non-property field of the client object based on JavaScript Object Notation (JSON) data from the server. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Protected method InitOnePropertyFromJson (Overrides TermSetItem.InitOnePropertyFromJson(String, JsonReader).)
Public method IsObjectPropertyInstantiated Indicates whether the specified property of the client object is instantiated. (Inherited from ClientObject.)
Public method IsPropertyAvailable Returns a Boolean value that indicates whether the specified scalar property has been retrieved or set. (Inherited from ClientObject.)
Protected method LoadExpandoFields Initializes the extended properties associated with the client object when overridden in a derived class. (Inherited from ClientObject.)
Public method Move Moves the current TermSet into a different TermGroup object,
Public method RefreshLoad Reloads all scalar properties associated with the client object when overridden in a derived class. (Inherited from ClientObject.)
Protected method RemoveFromParentCollection Removes the current client object from the parent client object collection. (Inherited from ClientObject.)
Public method Retrieve() Retrieves all scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
Public method Retrieve([]) Retrieves the specified scalar properties associated with the object. This member is reserved for internal use and is not intended to be used directly from your code. (Inherited from ClientObject.)
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 object 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 Sets a custom property for the TermSetItem object. (Inherited from TermSetItem.)
Public method ToString (Inherited from Object.)
Protected method UpdateClientObjectPropertyType Updates the client object property's value to have correct type by using the type information returned from the server. (Inherited from ClientObject.)

Top

See also

Reference

TermSet class

Microsoft.SharePoint.Client.Taxonomy namespace