다음을 통해 공유


Term.Move Method

Include Protected Members
Include Inherited Members

Moves the specified Term object to the child of a different Term object.

Overload List

  Name Description
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

Top

Exceptions

Exception Condition
UnauthorizedAccessException

The current user has insufficient permissions to perform this operation.

ArgumentNullException

Cannot move a Term to itself

ArgumentNullException

Cannot move a Term to its descendent Term objects.

TermStoreOperationException

This operation is invalid in the Orphaned terms TermSet. The operation failed.

TermStoreOperationException

Moving to a TermSet that has another reused instance of this Term is disallowed.

Remarks

This operation moves the current Term to become a child of another Term. Use Term.Move(TermSet) to move the Term to become a child of TermSet. The current user must have TaxonomyRights.EditTerm permission on both the current Term and the new parent Term to use this method.

See Also

Reference

Term Class

Term Members

Microsoft.SharePoint.Taxonomy Namespace