WebNavigationSettings members

Manages the navigation settings for a publishing site.

The WebNavigationSettings type exposes the following members.

Constructors

  Name Description
Public method WebNavigationSettings Initializes an instance of the WebNavigationSettings object for the purpose of saving changes to the navigation settings..

Top

Properties

  Name Description
Public property 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.
Public property 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.
Public property CurrentNavigation Gets an object that manages the settings for current navigation.
Public property GlobalNavigation Gets an object that manages the settings for global navigation.
Public property IsFrozen Gets a Boolean value that if true indicates that the object is read-only. (Inherited from FreezableObject.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Freeze Calling the Freeze() method sets IsFrozen=true and prevents any further changes to the object. (Inherited from FreezableObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method RequireNotFrozen (Inherited from FreezableObject.)
Public method ResetToDefaults Resets a WebNavigationSettings object to its default state.
Public method ToString (Inherited from Object.)
Public method Update() Updates the WebNavigationSettings object.
Public method Update(TaxonomySession) Writes new navigation settings to the SPWeb object that was passed to the WebNavigationSettings(SPWeb)constructor, possibly also updating any associated NavigationTermSet objects.

Top

See also

Reference

WebNavigationSettings class

Microsoft.SharePoint.Publishing.Navigation namespace