PortalWebSiteMapNode.IncludeSubSites Property

Gets a value that indicates whether to automatically include subsites (which includes any type of SPWeb object in navigation).

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

Syntax

'Declaration
Public ReadOnly Property IncludeSubSites As Boolean
    Get
'Usage
Dim instance As PortalWebSiteMapNode
Dim value As Boolean

value = instance.IncludeSubSites
public bool IncludeSubSites { get; }

Property Value

Type: System.Boolean
true to automatically include subsites in navigation; otherwise, false.

See Also

Reference

PortalWebSiteMapNode Class

PortalWebSiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace

IncludeSubSitesInNavigation

PortalWebSiteMapNode