Share via


TableOfContentsWebPart.IncludeHiddenWebs Property

Determines whether to include Web sites that are hidden from navigation.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property IncludeHiddenWebs As Boolean
    Get
    Set
'Usage
Dim instance As TableOfContentsWebPart
Dim value As Boolean

value = instance.IncludeHiddenWebs

instance.IncludeHiddenWebs = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool IncludeHiddenWebs { get; set; }

Property Value

Type: System.Boolean
The default value is false.

Remarks

The Web Part can be configured to show hidden Web sites. If this property is set to true, the Web Part will show hidden Web sites, otherwise, it will not show hidden Web sites.

See Also

Reference

TableOfContentsWebPart Class

TableOfContentsWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace