语言

HttpPutAttribute 构造函数

定义

重载

名称 说明
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.HttpPutAttribute
Public Sub New (template As String)

参数

template
String

路由模板。 不能为 null。

适用于