HtmlHelper.GetFormMethodString(FormMethod) Metodo
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce il metodo HTTP che gestisce l'input (GET o POST) del form come stringa.
public:
static System::String ^ GetFormMethodString(Microsoft::AspNetCore::Mvc::Rendering::FormMethod method);
C#
public static string GetFormMethodString (Microsoft.AspNetCore.Mvc.Rendering.FormMethod method);
static member GetFormMethodString : Microsoft.AspNetCore.Mvc.Rendering.FormMethod -> string
Public Shared Function GetFormMethodString (method As FormMethod) As String
- method
- FormMethod
Metodo HTTP che gestisce il form.
Stringa del metodo del form, "get" o "post".
Prodotto | Versioni |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |