LinkTagHelper.Href 属性

定义

链接资源的地址。

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

属性值

属性

注解

在所有情况下传递到生成的 HTML。

适用于