PortalHierarchyData.ShowChildren property

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

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

Syntax

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

value = instance.ShowChildren

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

Property value

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

Remarks

This property can be useful for custom trimming.

See also

Reference

PortalHierarchyData class

PortalHierarchyData members

Microsoft.SharePoint.Publishing.Navigation namespace

TrimNode