語言

MobilePage.AddedControl(Control, Int32) 方法

定義

在控制項加入 Controls 集合後被呼叫。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

protected:
 override void AddedControl(System::Web::UI::Control ^ control, int index);
protected override void AddedControl(System.Web.UI.Control control, int index);
override this.AddedControl : System.Web.UI.Control * int -> unit
Protected Overrides Sub AddedControl (control As Control, index As Integer)

參數

control
Control

MobileControl那個已經被加入了。

index
Int32

集合中 Controls 控制項的索引。

備註

此成員會覆寫該 Control.AddedControl 方法以判斷控制項是 a Form 還是 a UserControl ,然後再呼叫基礎方法。 若控制項為 a Form 或 物件 UserControl , Forms 屬性設為 null。

適用於

另請參閱