CompiledTemplateBuilder.InstantiateIn Method (Control)


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

This API supports the product 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 Sub InstantiateIn (
	container As Control


Type: System.Web.UI.Control

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.

.NET Framework
Available since 1.1
Return to top