FormMethod Enumeration

 

Enumerates the HTTP request types for a form.

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

Syntax

public enum FormMethod
public enum class FormMethod
type FormMethod
Public Enumeration FormMethod

Members

Member name Description
Get

Specifies a GET request.

Post

Specifies a POST request.

See Also

System.Web.Mvc Namespace

Return to top