HttpGetAttribute.HttpMethods Property
Gets the collection of HTTP methods.
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 HttpGetAttribute
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>
A collection of HTTP methods.