AnchorTagHelper.Route 属性

定义

路由的名称。

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

属性值

属性

注解

null如果 、 ControllerAreaPageAction一不是null ,则必须为 。

适用于