IControlAdapter.OnLoad(EventArgs) IControlAdapter.OnLoad(EventArgs) IControlAdapter.OnLoad(EventArgs) IControlAdapter.OnLoad(EventArgs) Method

定义

加载与控件、页面或设备适配器相关的数据。Loads data that pertains to a control, a page, or a device adapter. 此 API 已过时。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 void OnLoad(EventArgs ^ e);
public void OnLoad (EventArgs e);
abstract member OnLoad : EventArgs -> unit
Public Sub OnLoad (e As EventArgs)

参数

e
EventArgs EventArgs EventArgs EventArgs

包含事件数据的对象(由 EventArgs 定义)。An object (defined by EventArgs) that contains event data.

注解

OnLoad方法继承自控件的父级。The OnLoad method is inherited from the control's parent. 如果控件是 MobileControl 控件,则此方法继承自System.Web.UI.Control类; 如果控件MobilePage控件,则此方法继承自System.Web.UI.Page类。If the control is a MobileControl control, then this method is inherited from the System.Web.UI.Control class; if the control is a MobilePage control, then this method is inherited from the System.Web.UI.Page class.

适用于

另请参阅