Edit

Share via


CompiledTemplateBuilder.InstantiateIn(Control) Method

Definition

Populates the Control object with the child controls contained in the template.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual void InstantiateIn(System::Web::UI::Control ^ container);
public void InstantiateIn (System.Web.UI.Control container);
abstract member InstantiateIn : System.Web.UI.Control -> unit
override this.InstantiateIn : System.Web.UI.Control -> unit
Public Sub InstantiateIn (container As Control)

Parameters

container
Control

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

Implements

Remarks

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.

Applies to

See also