SP. Объект Publishing.Navigation.WebNavigationSettings (sp.publishing)

Управляет параметрами навигации для сайта публикации.

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

Область применения: 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.

Properties

Объект 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.

Конструктор

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

Конструктор

Описание

WebNavigationSettings

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