HttpPutAttribute Class
Represents an attribute that is used to restrict an action method so that the method handles only HTTP PUT requests.
System.Object
System.Attribute
System.Web.Mvc.ActionMethodSelectorAttribute
System.Web.Mvc.HttpPutAttribute
System.Attribute
System.Web.Mvc.ActionMethodSelectorAttribute
System.Web.Mvc.HttpPutAttribute
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The HttpPutAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Attribute.) |
|
Finalize | (Inherited from Object.) |
|
GetHashCode | (Inherited from Attribute.) |
|
GetType | (Inherited from Object.) |
|
IsDefaultAttribute | (Inherited from Attribute.) |
|
IsValidForRequest | Determines whether a request is a valid HTTP PUT request. (Overrides ActionMethodSelectorAttribute.IsValidForRequest(ControllerContext, MethodInfo).) |
|
Match | (Inherited from Attribute.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
For more information about how to use attributes, see Extending Metadata Using Attributes.