ApiDescription.HttpMethod Property
Gets or sets the HTTP method.
Namespace: System.Web.Http.Description
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Property HttpMethod As HttpMethod
Get
Set
'Usage
Dim instance As ApiDescription
Dim value As HttpMethod
value = instance.HttpMethod
instance.HttpMethod = value
public HttpMethod HttpMethod { get; set; }
public:
property HttpMethod^ HttpMethod {
HttpMethod^ get ();
void set (HttpMethod^ value);
}
member HttpMethod : HttpMethod with get, set
function get HttpMethod () : HttpMethod
function set HttpMethod (value : HttpMethod)
Property Value
Type: HttpMethod
The HTTP method.