TreeView::CreateControlCollection Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a collection to store child controls.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected:
virtual ControlCollection^ CreateControlCollection() override

The TreeView control does not support embedding of child controls. This method has been overridden to prevent the addition of child controls and always returns an System.Web.UI::EmptyControlCollection object.

.NET Framework
Available since 2.0
Return to top
Show: