HttpPutAttribute Class¶
Identifies an action that only supports the HTTP PUT method.
- Namespace
Microsoft.AspNetCore.Mvc
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Inheritance Hierarchy¶
System.Object
System.Attribute
Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute
Microsoft.AspNetCore.Mvc.HttpPutAttribute
Syntax¶
public class HttpPutAttribute : HttpMethodAttribute, _Attribute, IActionHttpMethodProvider, IRouteTemplateProvider
-
class
Microsoft.AspNetCore.Mvc.
HttpPutAttribute
Constructors¶
-
HttpPutAttribute
()¶ Creates a new
Microsoft.AspNetCore.Mvc.HttpPutAttribute
.public HttpPutAttribute()
-
HttpPutAttribute
(System.String) Creates a new
Microsoft.AspNetCore.Mvc.HttpPutAttribute
with the given route template.Arguments: template (System.String) – The route template. May not be null. public HttpPutAttribute(string template)
-