BuildTemplateMethod Delegate

Definition

Supports ASP.NET during the creation of a template for a templated control from generated class code. The BuildTemplateMethod delegate handles the InstantiateIn(Control) method.

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

public delegate void BuildTemplateMethod(Control ^ control);
public delegate void BuildTemplateMethod(Control control);
type BuildTemplateMethod = delegate of Control -> unit
Public Delegate Sub BuildTemplateMethod(control As Control)

Parameters

control
Control

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

Inheritance
BuildTemplateMethod

Remarks

The BuildTemplateMethod delegate is used in conjunction with the CompiledTemplateBuilder class, which creates a template for a templated control from generated class code.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also