Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
 IncludeInCurrentNavigation Property
Community Content
In this section
Statistics Annotations (0)
PublishingPage.IncludeInCurrentNavigation Property (Microsoft.SharePoint.Publishing)
Controls whether the PublishingPage object is included by PortalSitemapProviders that have NavigationType set to "Current".

Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll)
Visual Basic (Declaration)
Public Property IncludeInCurrentNavigation As Boolean
Visual Basic (Usage)
Dim instance As PublishingPage
Dim value As Boolean

value = instance.IncludeInCurrentNavigation

instance.IncludeInCurrentNavigation = value
C#
public bool IncludeInCurrentNavigation { get; set; }

Property Value

A Boolean representing whether this page is to be included. 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.

This property is superseded by IncludePagesInNavigation such that even, if this property is set True, if the parent Web site has the noted property set to False, this Web site does not appear in navigation.

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 or ExcludeFromNavigation methods when showing or hiding several children of the same parent.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker