LinkTagHelper.Href Property

Definition

Address of the linked resource.

public:
 property System::String ^ Href { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("href")]
public string Href { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("href")>]
member this.Href : string with get, set
Public Property Href As String

Property Value

Attributes

Remarks

Passed through to the generated HTML in all cases.

Applies to