Export (0) Print
Expand All

RemoteAttribute.HttpMethod Property

Gets or sets the HTTP method used for remote validation.

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

function get HttpMethod () : String
function set HttpMethod (value : String)

Property Value

Type: System.String
The HTTP method used for remote validation. The default value is "Get".

The HTTP method can be "Get" or "Post".

Show:
© 2015 Microsoft