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 string GetFormMethodString(System.Web.Mvc.FormMethod method);
static member GetFormMethodString : System.Web.Mvc.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