HtmlLink Constructor ()

 

Initializes a new instance of the HtmlLink class.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

Public Sub New

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

The following code example demonstrates how to programmatically declare an HtmlLink control and define its properties. For a complete, working code example, see the HtmlLink class overview topic.

.NET Framework
Available since 2.0
Return to top
Show: