SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing)

ナビゲーションの動作とナビゲーションのドライブに使用されるSP へTaxonomy.Term コンス (sp.taxonomy)オブジェクトのプロパティと web サイトのフレンドリ Url を指定します。

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

var object = new SP.Publishing.Navigation.NavigationTerm()

メンバー

NavigationTermオブジェクトでは、次のメンバーがあります。

メソッド

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

メソッド

説明

deleteObject

Deletes this SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object and its child objects from the associated SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

getAllParentTerms

Returns the SP へPublishing.Navigation.NavigationTerm.parent プロパティ (sp.publishing) parent object and all of its parents. If there is no parent, then the collection will be empty.

getAsEditable

Returns an editable version of a SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object.

getAsResolvedByView

Constructs a SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object in editable mode that is bound to the specified SP へTaxonomy.Term コンス (sp.taxonomy) object.

getAsResolvedByWeb

Constructs an editable SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object that is bound to a specified SP へTaxonomy.Term コンス (sp.taxonomy) object.

getResolvedAssociatedFolderUrl

Returns the associatedFolderUrl property as a server-relative URL.

getResolvedTargetUrl

Returns a target page address as a server-relative URL from the SP へPublishing.Navigation.NavigationTerm.targetUrl プロパティ (sp.publishing) property.

getResolvedTargetUrlWithoutQuery

Returns a target page address as a server-relative URL that does not include a query string.

getTaxonomyTerm

Returns the associated SP へTaxonomy.Term コンス (sp.taxonomy) object if the SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object is in the editable mode.

getWebRelativeFriendlyUrl

Returns the friendly URL segments as a concatenated path.

getWithNewView

Returns a new SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object based on the SP へPublishing.Navigation.NavigationTermSetView オブジェクト (sp.publishing) that is provided.

移動します。

Moves the SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object to be a child of the specified NavigationTerm object or SP へPublishing.Navigation.NavigationTermSet オブジェクト (sp.publishing) object.

プロパティ

NavigationTermオブジェクトでは、次のプロパティがあります。

プロパティ

説明

associatedFolderUrl

Gets or sets the URL value that is used to associate some page URLs with this SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object to indicate the location of the properties in the site map provider hierarchy.

catalogTargetUrl

Gets the target URL that is used when rewriting URLs for catalog-friendly URLs that are based on this SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object.

categoryImageUrl

Gets or sets the specified URL of an image that optionally can be displayed by a template page.

excludedProviders

A collection of site map provider names that will exclude this navigation term from their results when SP へPublishing.Navigation.NavigationTermSetView.excludeTermsByProvider プロパティ (sp.publishing) is true. This collection includes the names corresponding to SP へPublishing.Navigation.NavigationTerm.excludeFromGlobalNavigation プロパティ (sp.publishing) and SP へPublishing.Navigation.NavigationTerm.excludeFromCurrentNavigation プロパティ (sp.publishing).

excludeFromCurrentNavigation

Gets or sets whether this navigation term and its child terms are hidden from the current navigation menu.

excludeFromGlobalNavigation

Gets or sets a value that indicates whether the navigation term and its child terms are hidden from the global navigation menu.

friendlyUrlSegment

Gets a custom friendly URL segment for the node that is represented by the SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object.

hoverText

Gets or sets a description that is typically displayed by a menu or by breadcrumb navigation controls when the mouse hovers over the navigation link.

isDeprecated

Indicates whether the SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object is deprecated.

isPinned

Indicates whether a SP へTaxonomy.Term コンス (sp.taxonomy) object is a pinned term.

isPinnedRoot

Indicates whether the underlying SP へTaxonomy.Term コンス (sp.taxonomy) object is the root of a subtree of pinned terms.

Returns the parent SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) object.

simpleLinkUrl

Gets or sets the target URL if the navigation node represents a simple link.

targetUrl

Gets the URL of a publishing page that is used to render a friendly URL.

termSet

Gets the associated SP へPublishing.Navigation.NavigationTermSet オブジェクト (sp.publishing) object that the SP へPublishing.Navigation.NavigationTerm オブジェクト (sp.publishing) belongs to.

Constructor

NavigationTermオブジェクトでは、次のコンスがあります。

コンストラクター

説明

NavigationTerm

Initializes a new instance of the SP.Publishing.Navigation.NavigationTerm object.