EmptyControlCollection.Add(Control) Metod

Definition

Nekar tillägget av det angivna Control objektet till samlingen.

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)

Parametrar

child
Control

Som Control ska läggas till. Den här parametern ignoreras alltid.

Undantag

Utfärdas alltid eftersom kontrollen inte tillåter underordnade kontroller.

Gäller för