Edit

Share via


DetailsViewRowsGenerator.CreateAutoGeneratedFields(Object, Control) Method

Definition

Generates fields based on the current data item.

public:
 override System::Collections::Generic::List<System::Web::UI::WebControls::AutoGeneratedField ^> ^ CreateAutoGeneratedFields(System::Object ^ dataItem, System::Web::UI::Control ^ control);
public override System.Collections.Generic.List<System.Web.UI.WebControls.AutoGeneratedField> CreateAutoGeneratedFields (object dataItem, 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 (dataItem As Object, control As Control) As List(Of AutoGeneratedField)

Parameters

dataItem
Object

The current data item.

control
Control

The current control.

Returns

The list of generated fields.

Remarks

This method populates the AutoGeneratedFieldProperties collection.

Applies to