FormTagHelper.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

屬性值

屬性

備註

如果 nullActionController 不是 null ,就必須是 。

適用於