DynamicFieldDesigner.CreateField Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈