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 、 或 Page 的 ControllerAction 其中一個不是 null , Area 就必須是 。