Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether to automatically include pages in navigation.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Property IncludePagesInNavigation As Boolean
Get
Set
'Usage
Dim instance As PublishingWeb
Dim value As Boolean
value = instance.IncludePagesInNavigation
instance.IncludePagesInNavigation = value
public bool IncludePagesInNavigation { get; set; }
Property Value
Type: System.Boolean
Boolean value representing whether to automatically include pages in navigation.
Set to True if the PublishingPages of this PublishingWeb should appear in navigation; otherwise, set to False.
Remarks
This property affects only a valid PublishingWeb object that has a Pages list.
To save changes after setting this property, call the Update method.