Share via


MobilePage.AddedControl(Control, Int32) 方法

定义

在控件添加到 Controls 集合后调用。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 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 以确定控件在调用基方法之前是 Form 还是 UserControl 。 如果控件是 FormUserControl 对象,则 Forms 属性设置为 null

适用于

另请参阅