Term Methods

Include Protected Members
Include Inherited Members

The Term type exposes the following members.

Methods

  Name Description
Public method Copy Creates and returns a sibling copy of the current Term object within the current TermSet object.
Public method CreateLabel Creates a new Label for this Term.
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 this Term object and its descendents from the TermStore object. (Overrides TaxonomyItem.Delete().)
Public method DeleteCustomProperty Deletes a custom property from the current Term object.
Public method Deprecate Deprecates or enables the current Term object.
Public method DoesUserHavePermissions Verifies whether the current user has the permissions specified. (Inherited from TermSetItem.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAllLabels Gets all of the Label objects for the provided lcid parameter.
Public method GetDefaultLabel Gets the default Label for this Term based on LCID.
Public method GetDescription() Gets the description of the Term object in the language (WorkingLanguage) of the current TermStore object.
Public method GetDescription(Int32) Gets the description of the Term in the LCID.
Public method GetHashCode (Inherited from Object.)
Public method GetIsDescendantOf Indicates whether the current Term object is a descendent Term of the specified Term.
Public method GetPath() Gets the path for this Term object in the default language of the TermStore object.
Public method GetPath(Int32) Gets the path for the current Term in the specified lcid.
Public method GetTerms(Int32) Gets a paged collection containing the child Term objects of this TermSetItem object (Inherited from TermSetItem.)
Public method GetTerms(String, Int32, Boolean, StringMatchOption, Int32, Boolean) Returns all Term instances that are descendants of the current Term with a label in the provided lcid matching the string provided. It only checks default Labels if defaultLabelOnly is provided to be true.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Merge Merge the current Term object with the specified Term and return the combined Term.
Public method Move(Term) Moves the current T:Microsoft.SharePoint.Taxonomy.Term object to be a child of a different Term.
Public method Move(TermSet) Moves the current Term object to the root of the specified TermSet object
Public method ReassignSourceTerm Reassigns the source term status to one of the other reused instances of this Term object.
Public method ReuseTerm Creates a new reused Term object below this TaxonomyItem object based on a sourceTerm. (Inherited from TermSetItem.)
Public method SetCustomProperty Adds a new custom property or updates the value of an existing property
Public method SetDescription Sets the LCID-specific description of this Term object.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

Term Class

Microsoft.SharePoint.Taxonomy Namespace