IFieldTemplateFactory.Initialize(MetaModel) 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.
Initializes a FieldTemplateFactory using the specified data model.
public:
void Initialize(System::Web::DynamicData::MetaModel ^ model);
public void Initialize (System.Web.DynamicData.MetaModel model);
abstract member Initialize : System.Web.DynamicData.MetaModel -> unit
Public Sub Initialize (model As MetaModel)
Parameters
- model
- MetaModel
Specifies the data model that the field template uses.
Remarks
ASP.NET Dynamic Data uses field templates to display individual data fields. Field templates are typically implemented as user controls that map data types in a data model to individual fields in the data control. This method initializes the FieldTemplateFactory class, which is used to create field templates using the data model the field template will use.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈