HttpHeadAttribute 构造函数

定义

重载

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.HttpHeadAttribute
Public Sub New (template As String)

参数

template
String

路由模板。 不能为 null。

适用于