Bearbeiten

Freigeben über


DynamicFieldDesigner.CreateField Method

Definition

Creates a new DynamicField object.

Overloads

CreateField()

Creates an empty DynamicField object.

CreateField(IDataSourceFieldSchema)

Creates a new DynamicField object by using the specified data field information.

CreateField()

Creates an empty DynamicField object.

public:
 override System::Web::UI::WebControls::DataControlField ^ CreateField();
public override System.Web.UI.WebControls.DataControlField CreateField ();
override this.CreateField : unit -> System.Web.UI.WebControls.DataControlField
Public Overrides Function CreateField () As DataControlField

Returns

An empty field object.

Remarks

The CreateField() method is called when the designer does not have schema information about the field.

Applies to

CreateField(IDataSourceFieldSchema)

Creates a new DynamicField object by using the specified data field information.

public:
 override System::Web::UI::WebControls::DataControlField ^ CreateField(System::Web::UI::Design::IDataSourceFieldSchema ^ fieldSchema);
public override System.Web.UI.WebControls.DataControlField CreateField (System.Web.UI.Design.IDataSourceFieldSchema fieldSchema);
override this.CreateField : System.Web.UI.Design.IDataSourceFieldSchema -> System.Web.UI.WebControls.DataControlField
Public Overrides Function CreateField (fieldSchema As IDataSourceFieldSchema) As DataControlField

Parameters

fieldSchema
IDataSourceFieldSchema

Schema information that contains the structure of the data field.

Returns

A new field object.

Applies to