This documentation is archived and is not being maintained.

CompiledTemplateBuilder.InstantiateIn Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Populates the Control object with the child controls contained in the template.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

public void InstantiateIn (
	Control container
public final void InstantiateIn (
	Control container
public final function InstantiateIn (
	container : Control
Not applicable.



A Control that represents the container used to store the child controls in the template.

The InstantiateIn method is the TemplateBuilder class's implementation of the ITemplate.InstantiateIn method. It is used by ASP.NET to create the control hierarchy of the template and is not meant to be used directly in your code.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0