HyperLink Constructor ()

 

Initializes a new instance of the HyperLink class.

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

public HyperLink()

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

The following example demonstrates how to create and initialize a new instance of the HyperLink class.

void Page_Load(Object sender, EventArgs e) 
{
   HyperLink link = new HyperLink();
}

.NET Framework
Available since 1.1
Return to top
Show: