GridViewColumnsGenerator.CreateAutoGeneratedFields(Object, Control) 方法

定义

基于当前数据项生成域。

public:
 override System::Collections::Generic::List<System::Web::UI::WebControls::AutoGeneratedField ^> ^ CreateAutoGeneratedFields(System::Object ^ dataObject, System::Web::UI::Control ^ control);
public override System.Collections.Generic.List<System.Web.UI.WebControls.AutoGeneratedField> CreateAutoGeneratedFields (object dataObject, System.Web.UI.Control control);
override this.CreateAutoGeneratedFields : obj * System.Web.UI.Control -> System.Collections.Generic.List<System.Web.UI.WebControls.AutoGeneratedField>
Public Overrides Function CreateAutoGeneratedFields (dataObject As Object, control As Control) As List(Of AutoGeneratedField)

参数

dataObject
Object

当前数据项。

control
Control

当前控件。

返回

List<AutoGeneratedField>

生成字段的列表。

适用于