IFieldTemplateFactory.Initialize Method (MetaModel)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a FieldTemplateFactory using the specified data model.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

void Initialize(
	MetaModel model


Type: System.Web.DynamicData.MetaModel

Specifies the data model that the field template uses.

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.

.NET Framework
Available since 3.5
Return to top