DataBoundControl.OnCreatingModelDataSource 方法

定义

引发 CreatingModelDataSource 事件。

protected:
 virtual void OnCreatingModelDataSource(System::Web::UI::WebControls::CreatingModelDataSourceEventArgs ^ e);
protected virtual void OnCreatingModelDataSource (System.Web.UI.WebControls.CreatingModelDataSourceEventArgs e);
abstract member OnCreatingModelDataSource : System.Web.UI.WebControls.CreatingModelDataSourceEventArgs -> unit
override this.OnCreatingModelDataSource : System.Web.UI.WebControls.CreatingModelDataSourceEventArgs -> unit
Protected Overridable Sub OnCreatingModelDataSource (e As CreatingModelDataSourceEventArgs)

参数

e
CreatingModelDataSourceEventArgs

提供访问要创建的 ModelDataSource 对象的对象。

适用于