Share via


PortalWebSiteMapNode.IncludeSubSites Property

Determines 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
Boolean value that represents whether to automatically include subsites in navigation.

See Also

Reference

PortalWebSiteMapNode Class

PortalWebSiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace

IncludeSubSitesInNavigation

PortalWebSiteMapNode