AnchorTagHelper.Route 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
路由的名称。
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如果 、 ControllerArea 或 Page 之Action一不是null ,则必须为 。