Compartir a través de


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

'Declaration
Public Property HttpMethod As String
    Get
    Set
public string HttpMethod { get; set; }
public:
property String^ HttpMethod {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The HTTP request method.

Remarks

The default value of this property is "Post".

See Also

Reference

AjaxOptions Class

System.Web.Mvc.Ajax Namespace