HierarchicalDataSourceControl::CreateControlCollection Method ()

 

Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.

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

protected:
virtual ControlCollection^ CreateControlCollection() override

Return Value

Type: System.Web.UI::ControlCollection^

An EmptyControlCollection that prevents any child controls from being added.

The CreateControlCollection method is overridden by the HierarchicalDataSourceControl class to prevent child controls from being added.

.NET Framework
Available since 2.0
Return to top
Show: