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