aspxtreme

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



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

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

You can help support aspxtreme