Editar

Compartilhar via


DataControlFieldDesigner.CreateField Method

Definition

Creates an empty field object.

Overloads

CreateField()

When overridden in a derived class, creates an empty field object.

CreateField(IDataSourceFieldSchema)

When overridden in a derived class, creates a new field object using the specified data field information.

CreateField()

When overridden in a derived class, creates an empty field object.

public:
 abstract System::Web::UI::WebControls::DataControlField ^ CreateField();
public abstract System.Web.UI.WebControls.DataControlField CreateField ();
abstract member CreateField : unit -> System.Web.UI.WebControls.DataControlField
Public MustOverride Function CreateField () As DataControlField

Returns

An empty field object.

Applies to

CreateField(IDataSourceFieldSchema)

When overridden in a derived class, creates a new field object using the specified data field information.

public:
 abstract System::Web::UI::WebControls::DataControlField ^ CreateField(System::Web::UI::Design::IDataSourceFieldSchema ^ fieldSchema);
public abstract System.Web.UI.WebControls.DataControlField CreateField (System.Web.UI.Design.IDataSourceFieldSchema fieldSchema);
abstract member CreateField : System.Web.UI.Design.IDataSourceFieldSchema -> System.Web.UI.WebControls.DataControlField
Public MustOverride Function CreateField (fieldSchema As IDataSourceFieldSchema) As DataControlField

Parameters

fieldSchema
IDataSourceFieldSchema

Schema information that contains the structure of a data field.

Returns

A new field object.

Applies to