AjaxOptions.HttpMethod Property

 

Gets or sets the HTTP request method ("Get" or "Post").

Namespace:   System.Web.Mvc.Ajax
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 request method. The default value is "Post".

See Also

AjaxOptions Class
System.Web.Mvc.Ajax Namespace

Return to top