GridViewColumnsGenerator.CreateAutoGeneratedFields(Object, Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates fields based on the current data item.
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)
Parameters
- dataObject
- Object
The current data item.
- control
- Control
The current control.
Returns
The list of generated fields.