AnchorTagHelper.Action Właściwość
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Nazwa metody akcji.
public:
property System::String ^ Action { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-action")]
public string Action { get; set; }
[<Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeName("asp-action")>]
member this.Action : string with get, set
Public Property Action As String
Wartość właściwości
- Atrybuty
Uwagi
Musi mieć wartość null
, jeśli Route lub Page nie jestnull
.