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)

Syntax

public string HttpMethod { get; set; }
public:
property String^ HttpMethod {
    String^ get();
    void set(String^ value);
}
member HttpMethod : string with get, set
Public Property HttpMethod As String

Property Value

Type: System.String

The HTTP method used for remote validation. The default value is "Get".

Remarks

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

See Also

RemoteAttribute Class
System.Web.Mvc Namespace

Return to top