PortalNavigation.CurrentIncludeSubSites property

Gets or sets whether sub-sites of this site will be included automatically in its current navigation.

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

Syntax

'Declaration
Public Property CurrentIncludeSubSites As Boolean
    Get
    Set
'Usage
Dim instance As PortalNavigation
Dim value As Boolean

value = instance.CurrentIncludeSubSites

instance.CurrentIncludeSubSites = value
public bool CurrentIncludeSubSites { get; set; }

Property value

Type: System.Boolean
true if sub-sites are included automatically in current navigation; otherwise, false.

Remarks

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

See also

Reference

PortalNavigation class

PortalNavigation members

Microsoft.SharePoint.Publishing.Navigation namespace