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