この記事は機械翻訳されています。英語版の記事を表示するには、[英語] のチェック ボックスをオンにしてください。また、テキストにマウス ポインターを合わせると、ポップアップ ウィンドウに英語のテキストを表示することもできます。
翻訳
英語

SP へTaxonomy.TaxonomySession 方法 (sp.taxonomy)

TaxonomySessionオブジェクトでは、次の方法があります。

最終更新日:2015年12月7日

適用対象:apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

メソッド

説明

getDefaultKeywordsTermStore

Gets the TermStore object to be used for keywords.

getDefaultSiteCollectionTermStore

Gets the TermStore object to be used for metadata that are specific to the site collection, such as column-specific TermSet objects.

getTaxonomySession

This method retrieves a TaxonomySession object for performing taxonomy-related operations.

getTerm

Gets a Term object that is based on Term IDs. If the current Term belongs to multiple TermSet objects, it will arbitrarily return the Term from one of the TermSet objects.

getTerms

Gets Term objects for the current TaxonomySession object.

getTermsById

Gets a set of Term objects based on Term IDs. If a Term is part of more than one TermSet object, it will arbitrarily return the Term object from one of the TermSet objects.

getTermSetsByName

Gets all TermSet objects from all TermStore objects that have a name in the specified language.

getTermSetsByTermLabel

Gets all of the TermSet objects from all of the TermStore objects that contain Term objects with matching LCID specific labels for all specified strings.

getTermsInDefaultLanguage

Searches Label objects in the TermStore objects’ default language, and returns Term objects that are not scoped scoped to an Site object from all TermSet objects, in all TermStore objects that contain a Label object that matches the provided string.

getTermsInWorkingLocale

Searches Label objects in the TermStore working language, and returns Term objects from all TermSet objects, which are not scoped to an SP へサイト オブジェクト (sp.js) object, from all TermStore objects with a Label matching the provided string.

getTermsWithCustomProperty

Gets Term objects with custom properties for the current TaxonomySession object.

updateCache

Forces the taxonomy cache to communicate with the Managed Metadata Service to check for changes to any taxonomy objects.

表示: