Compartilhar via


HttpPutAttribute.HttpMethods Property

Gets the read-only collection of HTTP PUT 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 HttpPutAttribute 
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>
The read-only collection of HTTP PUT methods.

See Also

Reference

HttpPutAttribute Class

System.Web.Http Namespace