System.Web.UI.IHierarchyData.HasChildren Property

Indicates whether the hierarchical data node that the System.Web.UI.IHierarchyData object represents has any child nodes.

Syntax

public bool HasChildren { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The IHierarchyData.HasChildren property is a convenience property that enables callers to avoid checking the return value of the IHierarchyData.GetChildren method for null. If the IHierarchyData.HasChildren property returns true, call the IHierarchyData.GetChildren method to retrieve an System.Web.UI.IHierarchicalEnumerable collection of child nodes.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0