Gets or sets a value that indicates whether this PublishingPage object is included by the dynamic portion of the PortalSitemapProvider in the GlobalNavigation mode.
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
'Declaration Public Property IncludeInGlobalNavigation As Boolean Get Set 'Usage Dim instance As PublishingPage Dim value As Boolean value = instance.IncludeInGlobalNavigation instance.IncludeInGlobalNavigation = value
Property valueType: System.Boolean
true if the area should be included in the current navigation; otherwise, false.
This property defaults to true.
This property can be so that even if this property is set true and the parent Web site has the IncludePagesInNavigation property set to false, this Web site does not appear in navigation.
Setting this property opens, modifies, or updates the parent PublishingWeb object. This could make other instances of the same PublishingWeb object stale. Performance may be better if you use the IncludeInNavigation(Boolean, Guid) or ExcludeFromNavigation(Boolean, Guid) methods when showing or hiding several child objects of the same parent.