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