BuildTemplateMethod Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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. |