StandardNavigationSource enumeration

SharePoint Online

Identifies the three enumeration choices displayed on the AreaNavigationSettings.aspx control pane.

Namespace:  Microsoft.SharePoint.Client.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)

public enum StandardNavigationSource

Member nameDescription
UnknownReturns a value of unknown to indicate an advanced configuration that does not correspond to one of the standard configurations.
PortalProviderIndicates that a PortalSiteMapProviderobject is used (that is, structural navigation).
TaxonomyProviderIndicates that a TaxonomySiteMapProviderobject is used (that is, managed navigation).
InheritFromParentWebIndicates that navigation settings will be inherited from the parent Web object.

There are three identical enumeration choices for each standard navigation scheme: three for global navigation, and three for current navigation. The navigation choices are only available if the Publishing features are enabled on the current site collection.

The states represented by the three choices correspond to configurations of the underlying providers: the SwitchableSiteMapProvider class, the TaxonomySiteMapProvider class, and the PortalSiteMapProvider class.