TableOfContentsWebPart.IncludeContentFromStartingLocation Property
Determines 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
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property IncludeContentFromStartingLocation As Boolean
Get
Set
'Usage
Dim instance As TableOfContentsWebPart
Dim value As Boolean
value = instance.IncludeContentFromStartingLocation
instance.IncludeContentFromStartingLocation = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
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 children are displayed, or whether only child Web sites and their children are displayed.