Share via


TableOfContentsWebPart.IncludeHiddenWebs property

Gets or sets a value that indicates 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
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property IncludeHiddenWebs As Boolean
    Get
    Set
'Usage
Dim instance As TableOfContentsWebPart
Dim value As Boolean

value = instance.IncludeHiddenWebs

instance.IncludeHiddenWebs = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
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