Share via


HttpHeadAttribute 建構函式

定義

多載

HttpHeadAttribute()

建立新的 HttpHeadAttribute

HttpHeadAttribute(String)

使用指定的路由範本建立新的 HttpHeadAttribute

HttpHeadAttribute()

來源:
HttpHeadAttribute.cs
來源:
HttpHeadAttribute.cs

建立新的 HttpHeadAttribute

public:
 HttpHeadAttribute();
public HttpHeadAttribute ();
Public Sub New ()

適用於

HttpHeadAttribute(String)

來源:
HttpHeadAttribute.cs
來源:
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。

適用於