Aracılığıyla paylaş


HtmlHelper.GetFormMethodString(FormMethod) Yöntem

Tanım

Form girişini (GET veya POST) dize olarak işleyen HTTP yöntemini döndürür.

public:
 static System::String ^ GetFormMethodString(Microsoft::AspNetCore::Mvc::Rendering::FormMethod method);
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

Parametreler

method
FormMethod

Formu işleyen HTTP yöntemi.

Döndürülenler

"get" veya "post" form yöntemi dizesi.

Şunlara uygulanır