PortalSiteMapProvider.FlattenHeadings Property
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
If set to True, the provider removes heading nodes from the hierarchy but still returns their child objects.
Remarks
Flattening a heading node removes it from the hierarchy but includes all of its child objects in its place.