DataList.OnInit(EventArgs) 方法

定义

Init 控件引发 DataList 事件。Raises the Init event for the DataList control.

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

包含事件数据的 EventArgsAn EventArgs that contains the event data.

注解

OnInit方法通知 DataList 控件执行创建和设置实例所需的任何初始化步骤。The OnInit method notifies the DataList control to perform any initialization steps that are required to create and set up an instance.

适用于

另请参阅