Share via


BaseTableOfContentsDataSource.IncludeContentFromStartingLocation property

Gets or sets a value that indicates whether to include the starting site map node as the root site map node in the site map view.

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

Syntax

'Declaration
Public Property IncludeContentFromStartingLocation As Boolean
    Get
    Set
'Usage
Dim instance As BaseTableOfContentsDataSource
Dim value As Boolean

value = instance.IncludeContentFromStartingLocation

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

Property value

Type: System.Boolean
true if contents from the starting location are included; otherwise, false.

Remarks

Set the IncludeContentFromStartingLocation property to false to exclude the current site map node, and only include the children of the current site map node.

See also

Reference

BaseTableOfContentsDataSource class

BaseTableOfContentsDataSource members

Microsoft.SharePoint.Publishing.WebControls namespace