HtmlLink Constructor ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the HtmlLink class.

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

public HtmlLink()

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