Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Public ReadOnly Property HttpMethods As Collection(Of HttpMethod)
Get
'Usage
Dim instance As AcceptVerbsAttribute
Dim value As Collection(Of HttpMethod)
value = instance.HttpMethods
public Collection<HttpMethod> HttpMethods { get; }
public:
virtual property Collection<HttpMethod^>^ HttpMethods {
Collection<HttpMethod^>^ get () sealed;
}
abstract HttpMethods : Collection<HttpMethod>
override HttpMethods : Collection<HttpMethod>
final function get HttpMethods () : Collection<HttpMethod>
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