Share via


HierarchyInfo.SupportsChildren Property

Definition

Gets a value indicating whether the node supports child nodes.

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

Property Value

true if the node supports child nodes; otherwise, false. The default is true.

Examples

The following example implements the SupportsChildren property.

public override bool SupportsChildren
{
    get
    {
        return false;
    }
}

Remarks

A value of false removes the expand symbol (+) on the node in the IIS Manager Connections pane and prevents child-node data from being displayed in Content View in the workspace. The SupportsChildren property controls the user interface indication of child nodes. The IsExtendable property is the programmatic indication of support for child nodes.

Applies to