System.Web.UI.HtmlControls Namespace HtmlButton Class
Initializes a new instance of an HtmlButton class.
[ VB ]
Public Sub New ( )
[ C# ]
public HtmlButton ( );
[ C++ ]
public: HtmlButton ( );
[ JScript ]
public function HtmlButton ( );
Use this constructor to create and initialize a new instance of the HtmlButton control.
This constructor sets the initial TagName property value to button.
The below code shows how to create a new instance of an HtmlButton class.
HtmlButton myButton = new HtmlButton ( );
Dim myButton As New HtmlButton ( ) |
|
C# |
VB |
HtmlButton Members