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

発行サイトのナビゲーションの設定を管理します。

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

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

メンバー

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

メソッド

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

メソッド

説明

newObject

resetToDefaults

Resets a SP へPublishing.Navigation.WebNavigationSettings オブジェクト (sp.publishing) object to its default state.

更新プログラム

Writes the new settings to the web site that was passed to the constructor.

プロパティ

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

プロパティ

説明

addNewPagesToNavigation

Gets or sets a value that indicates whether the New Page ribbon command will automatically create a navigation item for the newly created page.

createFriendlyUrlsForNewPages

Gets or sets a value that indicates whether the New Page ribbon command will automatically create a friendly URL for the newly created page.

currentNavigation

Gets an object that manages the settings for current navigation.

globalNavigation

Gets an object that manages the settings for global navigation.

Constructor

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

コンストラクター

説明

WebNavigationSettings

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