Share via


HierarchyInfo.IsLoaded Property

Definition

Gets a value indicating whether all child nodes have been added.

public:
 property bool IsLoaded { bool get(); };
public bool IsLoaded { get; }
member this.IsLoaded : bool
Public ReadOnly Property IsLoaded As Boolean

Property Value

true if the HierarchyInfo object has child nodes and all the child nodes have been added; otherwise, false.

Examples

The following example writes the value of the IsLoaded property to the trace listener.

protected bool verifyLoaded()
{
    bool b = IsLoaded;
    Trace.WriteLine("IsLoaded: " + b.ToString());
    return b;
}

Remarks

This property gets a value of false if the node has no child nodes.

Applies to