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