Partager via


ReflectedHttpActionDescriptor.SupportedHttpMethods Property

Gets or sets the supported http methods.

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

Syntax

'Declaration
Public Overrides ReadOnly Property SupportedHttpMethods As Collection(Of HttpMethod)
    Get
'Usage
Dim instance As ReflectedHttpActionDescriptor 
Dim value As Collection(Of HttpMethod)

value = instance.SupportedHttpMethods
public override Collection<HttpMethod> SupportedHttpMethods { get; }
public:
virtual property Collection<HttpMethod^>^ SupportedHttpMethods {
    Collection<HttpMethod^>^ get () override;
}
abstract SupportedHttpMethods : Collection<HttpMethod>
override SupportedHttpMethods : Collection<HttpMethod>
override function get SupportedHttpMethods () : Collection<HttpMethod>

Property Value

Type: System.Collections.ObjectModel.Collection<HttpMethod>
The supported http methods.

See Also

Reference

ReflectedHttpActionDescriptor Class

System.Web.Http.Controllers Namespace