BoundField.CreateField 方法

定义

创建一个空的 BoundField 对象。Creates an empty BoundField 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

返回

DataControlField

一个空 BoundFieldAn empty BoundField.

注解

CreateField方法是一个帮助器方法,该方法由 DataControlField.CloneField 方法用来创建一个空 BoundField 对象,以将当前对象的属性复制 BoundField 到。The CreateField method is a helper method used by the DataControlField.CloneField method to create an empty BoundField object to copy the properties of the current BoundField object to.

适用于

另请参阅