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)

public:
property String^ HttpMethod {
	String^ get();
	void set(String^ value);
}

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".

Return to top
Show: