AcceptVerbsAttribute.HttpMethods Property

 

Gets or sets the list of HTTP methods that the action method will respond to.

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public Collection<HttpMethod> HttpMethods { get; }

Property Value

Type: System.Collections.ObjectModel.Collection<HttpMethod>

Gets or sets the list of HTTP methods that the action method will respond to.

Implements

IActionHttpMethodProvider.HttpMethods

See Also

AcceptVerbsAttribute Class
System.Web.Http Namespace

Return to top