語言

EmptyControlCollection.Add(Control) 方法

定義

拒絕將指定的 Control 物件加入集合。

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)

參數

child
Control

Control待補充。 這個參數總是被忽略。

例外狀況

總是會被發放,因為控制不允許使用子控制。

適用於