HttpPutAttribute Class¶
Identifies an action that only supports the HTTP PUT method.
- Namespace
Microsoft.AspNetCore.Mvc- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Inheritance Hierarchy¶
System.ObjectSystem.AttributeMicrosoft.AspNetCore.Mvc.Routing.HttpMethodAttributeMicrosoft.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.HttpPutAttributewith the given route template.Arguments: template (System.String) – The route template. May not be null. public HttpPutAttribute(string template)
-