System.Web.UI Namespace
Initializes a new instance of the Control class.
[ VB ]
Public Sub New ( )
[ C# ]
public Control ( );
[ C++ ]
public: Control ( );
[ JScript ]
public function Control ( );
Use this constructor to create and initialize a new instance of the Control class.
The following example demonstrates using the Control constructor to instantiate a custom server control.
Control myControl = new Control ( );
Dim myControl As New Control ( ) |
|
C# |
VB |
Control Members