Export (0) Print
Expand All

PublishingWeb.IncludeSubSitesInNavigation Property

Determines whether to automatically include subsites, or any type of SPWeb object, in navigation.

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

public bool IncludeSubSitesInNavigation { get; set; }

Property Value

Type: System.Boolean
Boolean value that represents whether to automatically include subsites in navigation.
Set to True if the subsites of this Web should appear in navigation; otherwise, set to False.

To save changes after setting this property, call the Update method.

Community Additions

© 2014 Microsoft