語言

HttpPostAttribute 建構函式

定義

多載

名稱 Description
HttpPostAttribute()

建立新的 HttpPostAttribute。

HttpPostAttribute(String)

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

HttpPostAttribute()

來源:
HttpPostAttribute.cs
來源:
HttpPostAttribute.cs
來源:
HttpPostAttribute.cs

建立新的 HttpPostAttribute。

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

適用於

HttpPostAttribute(String)

來源:
HttpPostAttribute.cs
來源:
HttpPostAttribute.cs
來源:
HttpPostAttribute.cs

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

public:
 HttpPostAttribute(System::String ^ template);
public HttpPostAttribute(string template);
new Microsoft.AspNetCore.Mvc.HttpPostAttribute : string -> Microsoft.AspNetCore.Mvc.HttpPostAttribute
Public Sub New (template As String)

參數

template
String

路由範本。 可能是 null。

適用於