IFieldTemplateFactory.Initialize(MetaModel) Method

Definition

Initializes a FieldTemplateFactory using the specified data model.

C#
public void Initialize (System.Web.DynamicData.MetaModel model);

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

Prodotto Versioni
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1