TemplateControl.Construct Method ()

 
System_CAPS_noteNote

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

Performs design-time logic.

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

abstract Construct : unit -> unit
override Construct : unit -> unit

The Construct method allows design-time code execution of the Page and UserControl controls.

The following code example demonstrates how to override the Construct method of a custom control that is derived from the TemplateControl class.

For the full definition of the MyControl class, see TemplateControl.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: