HierarchicalDataSourceControl.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 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)

override CreateControlCollection : unit -> ControlCollection

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: