Share via


PortalHierarchyData.ShowNode property

Gets or sets whether to return the node that this object wraps.

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

Syntax

'Declaration
Public Property ShowNode As Boolean
    Get
    Set
'Usage
Dim instance As PortalHierarchyData
Dim value As Boolean

value = instance.ShowNode

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

Property value

Type: System.Boolean
True to return the node; otherwise, False.

Remarks

This property can be useful for custom trimming.

See also

Reference

PortalHierarchyData class

PortalHierarchyData members

Microsoft.SharePoint.Publishing.Navigation namespace

TrimNode