Redigera

Dela via


EmptyControlCollection.Add(Control) Method

Definition

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

public:
 override void Add(System::Web::UI::Control ^ child);
public override void Add (System.Web.UI.Control child);
override this.Add : System.Web.UI.Control -> unit
Public Overrides Sub Add (child As Control)

Parameters

child
Control

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

Exceptions

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

Applies to