AnchorTagHelper.Fragment 属性

定义

URL 片段名称。

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

属性值

属性

适用于