MobilePage.AddedControl(Control, Int32) 方法

定義

在控制項加入至 Controls 集合後,便予以呼叫。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 具有 ASP.NET 的Mobile Apps & Sites

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 以判斷控件是否為 FormUserControl ,再呼叫基底方法。 如果控制檔是 FormUserControl 物件,則 Forms 屬性會設定為 null

適用於

另請參閱