通过


HtmlSelect.OnInit(EventArgs) 方法

定义

Init引发控件的事件HtmlSelect

protected public:
 override void OnInit(EventArgs ^ e);
protected internal override void OnInit(EventArgs e);
override this.OnInit : EventArgs -> unit
Protected Friend Overrides Sub OnInit (e As EventArgs)

参数

e
EventArgs

包含事件数据的 A EventArgs

注解

该方法 OnInit 通知 HtmlSelect 控件执行创建和设置实例所需的任何初始化步骤。 IsViewStateEnabled如果该属性是falseIsPostBack属性为 true,则属性RequiresDataBinding设置为 true

继承者说明

OnInit(EventArgs) 派生类中重写方法时,请务必调用基类 OnInit(EventArgs) 的方法,以便已注册的委托接收该事件。

适用于

另请参阅