共用方式為


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

目前控制項。

傳回

所產生之欄位的清單。

適用於