PortalSiteMapProvider.FlattenHeadings Property

Gets a Boolean value that represents whether to flatten heading nodes.

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

Syntax

'Declaration
Public Property FlattenHeadings As Boolean
    Get
    Set
'Usage
Dim instance As PortalSiteMapProvider
Dim value As Boolean

value = instance.FlattenHeadings

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

Property Value

Type: System.Boolean
true to have the provider remove heading nodes from the hierarchy but still return their child objects.

Remarks

Flattening a heading node removes it from the hierarchy but includes all of its child objects in its place.

See Also

Reference

PortalSiteMapProvider Class

PortalSiteMapProvider Members

Microsoft.SharePoint.Publishing.Navigation Namespace

PortalSiteMapProvider