This documentation is archived and is not being maintained.

IFieldTemplateFactory::Initialize Method

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
)

Parameters

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

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: