Compartir a través de


FormMethod Enumeration

Enumerates the HTTP request types for a form.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Enumeration FormMethod
public enum FormMethod
public enum class FormMethod

Members

Member name Description
Get Specifies a GET request.
Post Specifies a POST request.

See Also

Reference

System.Web.Mvc Namespace