PublishingPage.IncludeInCurrentNavigation Property
Gets or sets a value that indicates whether the PublishingPage object is included by PortalSitemapProviders that have NavigationType set to "Current".
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Property Value
Type: System.Booleantrue if this PublishingPage should be included in the current navigation; otherwise, false.
This property defaults to true.
The value is true if this PublishingPage should be included in the current navigation, and it is false if the area should not be included.
Setting this property opens, modifies, or updates the parent PublishingWeb object. Setting the property 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.