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