TableOfContentsWebPart.IncludeContentFromStartingLocation property
Gets or sets a value that indicates whether to include the starting site and pages in this site.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property IncludeContentFromStartingLocation As Boolean
Get
Set
'Usage
Dim instance As TableOfContentsWebPart
Dim value As Boolean
value = instance.IncludeContentFromStartingLocation
instance.IncludeContentFromStartingLocation = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool IncludeContentFromStartingLocation { get; set; }
Property value
Type: System.Boolean
The default value is false.
Remarks
The Web Part is anchored at a specific Web site. This property determines whether the anchor Web site and its subsites are displayed, or whether only child Web sites and their child sites are displayed.