EmptyControlCollection.Add Method (Control)

 

Denies the addition of the specified Control object to the collection.

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

override Add : 
        child:Control -> unit

Parameters

child
Type: System.Web.UI.Control

The Control to be added. This parameter is always ignored.

Exception Condition
HttpException

Always issued, because the control does not allow child controls.

.NET Framework
Available since 1.1
Return to top
Show: