Redigera

Dela via


CommandField.CreateField Method

Definition

Creates an empty CommandField object.

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

Returns

An empty CommandField.

Remarks

The CreateField method is a helper method used by the DataControlField.CloneField method to create an empty CommandField object to copy the properties of the current CommandField object to.

Applies to

See also