다음을 통해 공유


Term Members

Include Protected Members
Include Inherited Members

Represents a Term or a Keyword in a managed metadata hierarchy.

The Term type exposes the following members.

Properties

  Name Description
Public property CreatedDate Gets the DateTime at which this item was created. (Inherited from TaxonomyItem.)
Public property CustomProperties Gets the collection of custom property objects for the current Term object from the read-only dictionary.
Public property CustomSortOrder Gets or sets the custom sort order of the current Term object. (Overrides TermSetItem.CustomSortOrder.)
Public property Id Gets the Id of the current T:Microsoft.SharePoint.Taxonomy.TaxonomyItem. (Inherited from TaxonomyItem.)
Public property IsAvailableForTagging Gets or sets the flag indicating whether a Term object can be used to tag in the tagging UI, but does not affect its visibility. (Overrides TermSetItem.IsAvailableForTagging.)
Public property IsDeprecated Gets whether the current Term object has been deprecated.
Public property IsKeyword Gets whether the current Term object is a keyword in the KeywordTermSet object.
Public property IsReused Gets whether the current Term object is a reused Term.
Public property IsRoot Gets whether the current Term object is at the root of the TermSet object
Public property IsSourceTerm Gets whether the current Term is the source Term among reused terms
Public property Labels Gets a collection of Label objects for the current Term object.
Public property LastModifiedDate Gets the DateTime at which this item was most recently updated. (Inherited from TaxonomyItem.)
Public property MergedTermIds Gets a read-only collection of Term Ids. Term objects identified by those Ids have been merged into the current Term.
Public property Name Gets or sets the name of the current Term object. (Overrides TaxonomyItem.Name.)
Public property Owner Gets or sets the user who is responsible for the current Term object. (Overrides TermSetItem.Owner.)
Public property Parent Gets the parent Term object of the current Term.
Public property ReusedTerms Gets all of the instances of the current Term object that are reused in other TermSet objects.
Public property SourceTerm Gets the source Term if the current Term is a reused term.
Public property Terms Gets a collection of all immediate child Term objects of the currrent Term object. (Overrides TermSetItem.Terms.)
Public property TermsCount Gets the number of child Term objects.
Public property TermSet Gets the TermSet object for the current Term object.
Public property TermSets Gets the collection of all TermSet objects where the current Term object is located.
Public property TermStore Gets the TermStore object from which the current TaxonomyItem was retrieved. (Inherited from TaxonomyItem.)

Top

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