Share via


BaseTableOfContentsDataSourceView.IncludeContentFromStartingLocation property

Gets or sets a value that indicates whether to include the current 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 BaseTableOfContentsDataSourceView
Dim value As Boolean

value = instance.IncludeContentFromStartingLocation

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

Property value

Type: System.Boolean
true if the current site map node is included as the root site map node in the site map view; 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

BaseTableOfContentsDataSourceView class

BaseTableOfContentsDataSourceView members

Microsoft.SharePoint.Publishing.WebControls namespace