Compartilhar via


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