Share via


PortalNavigation.GlobalIncludePages Property

Controls whether publishing pages in this site will be automatically included in global navigation.

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

Syntax

'Declaration
Public Property GlobalIncludePages As Boolean
    Get
    Set
'Usage
Dim instance As PortalNavigation
Dim value As Boolean

value = instance.GlobalIncludePages

instance.GlobalIncludePages = value
public bool GlobalIncludePages { get; set; }

Property Value

Type: System.Boolean
Returns Boolean.

Remarks

This property affects only a valid publishing site with a Pages list.To save changes after setting this property, call the PublishingWeb.Update method.

See Also

Reference

PortalNavigation Class

PortalNavigation Members

Microsoft.SharePoint.Publishing.Navigation Namespace