System.Web.UI.HtmlControls.HtmlLink.Href Property

Gets or sets the URL target of the link specified in the System.Web.UI.HtmlControls.HtmlLink control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.Web.UI.UrlProperty]
[System.ComponentModel.DefaultValue("")]
public virtual string Href { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The HtmlLink.Href property specifies the URL target of the link specified in the System.Web.UI.HtmlControls.HtmlLink control. You can use this property to specify the location of an external cascading style sheet (CSS).

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0