HttpPutAttribute 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| HttpPutAttribute() | 创建一个新的 HttpPutAttribute。 | 
| HttpPutAttribute(String) | 使用给定的路由模板创建新的 HttpPutAttribute 。 | 
HttpPutAttribute()
- Source:
- HttpPutAttribute.cs
- Source:
- HttpPutAttribute.cs
- Source:
- HttpPutAttribute.cs
创建一个新的 HttpPutAttribute。
public:
 HttpPutAttribute();public HttpPutAttribute();Public Sub New ()适用于
HttpPutAttribute(String)
- Source:
- HttpPutAttribute.cs
- Source:
- HttpPutAttribute.cs
- Source:
- HttpPutAttribute.cs
使用给定的路由模板创建新的 HttpPutAttribute 。
public:
 HttpPutAttribute(System::String ^ template);public HttpPutAttribute(string template);new Microsoft.AspNetCore.Mvc.HttpPutAttribute : string -> Microsoft.AspNetCore.Mvc.HttpPutAttributePublic Sub New (template As String)参数
- template
- String
路由模板。 不能为 null。