HtmlHelper.GetFormMethodString Method
Returns the HTTP method that handles form input (GET or POST) as a string.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Public Shared Function GetFormMethodString ( _ method As FormMethod _ ) As String 'Usage Dim method As FormMethod Dim returnValue As String returnValue = HtmlHelper.GetFormMethodString(method)
Parameters
- method
- Type: System.Web.Mvc.FormMethod
The HTTP method that handles the form.
Show: