Class HttpPutAttribute
Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP PUT requests.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class HttpPutAttribute : Attribute
- Inheritance
-
HttpPutAttribute
- Inherited Members
Constructors
HttpPutAttribute()
Initializes a new instance of the HttpPutAttribute class.
public HttpPutAttribute()
Properties
HttpMethods
Gets the read-only collection of HTTP PUT methods.
public Collection<HttpMethod> HttpMethods { get; }
Property Value
- Collection<HttpMethod>
The read-only collection of HTTP PUT methods.