asp.net.ph

HtmlAnchor Constructor

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 ( );

Remarks

Use this constructor to create and initialize a new instance of the HtmlAnchor control.

This constructor sets the initial TagName property value to a.

Example

The below code shows how to create a new instance of an HtmlAnchor class.

HtmlAnchor myControl = new HtmlAnchor ( );
  C# VB

See Also

HtmlAnchor Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note