Поделиться через


SP. Объект Taxonomy.TermSet (sp.taxonomy)

Представляет набор иерархических или плоской объектов терминов , известных как "TermSet".

Дата последнего изменения: 9 марта 2015 г.

Область применения: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Taxonomy.TermSet()

Элементы

Объект TermSet содержит следующие элементы.

Конструктор

Объект TermSet имеет следующий конструктор.

Конструктор

Описание

TermSet

Initializes a new instance of a SP. Объект Taxonomy.TermSet (sp.taxonomy) object.

Методы

Объект TermSet содержит следующие методы.

Метод

Описание

addStakeholder

Adds a stakeholder to the TermSet object.

копия

Creates a copy of the TermSet object under the current parent TermGroup object.

deleteStakeholder

Deletes a stakeholder from the TermSet object.

exportObject

getAllTerms

Returns a collection containing a flat list of all Term objects in the TermSet object.

getChanges

Specifies a collection of ChangedItem objects that represent changes to the current TermSet since a specified time.

getTerm

Gets a Term from the current TermSet based on its ID.

getTerms

Gets a collection of all Term objects from the current TermSet object based on the label criteria provided.

getTermsWithCustomProperty

Gets a collection of all Term objects from the current TermSet object that have a custom property matching the criteria provided.

Перемещение

Moves the current TermSet into a different TermGroup object.

Properties

Объект TermSet имеет следующие свойства.

Свойство

Описание

контакт

Gets and sets the contact for the current TermSet object.

Описание

Gets and sets the description for the current TermSet object.

Группа

Gets the parent TermGroup object of the current TermSet object.

isOpenForTermCreation

Indicates whether the TermSet can be updated by all users, or alternatively just by the specified contributors for the TermGroup object.

заинтересованных лиц

Gets the collection of stakeholders for the current TermSet object.