Share via


HttpHeadAttribute.HttpMethods Property

 

Gets the http methods that correspond to this attribute.

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

Syntax

public Collection<HttpMethod> HttpMethods { get; }
public:
property Collection<HttpMethod^>^ HttpMethods {
    virtual Collection<HttpMethod^>^ get() sealed;
}
abstract HttpMethods : Collection<HttpMethod> with get
override HttpMethods : Collection<HttpMethod> with get
Public ReadOnly Property HttpMethods As Collection(Of HttpMethod)

Property Value

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

The http methods that correspond to this attribute.

Implements

IActionHttpMethodProvider.HttpMethods

See Also

HttpHeadAttribute Class
System.Web.Http Namespace

Return to top