HttpPatchAttribute 构造函数

定义

重载

HttpPatchAttribute()

创建一个新的 HttpPatchAttribute

HttpPatchAttribute(String)

使用给定的路由模板创建新的 HttpPatchAttribute

HttpPatchAttribute()

Source:
HttpPatchAttribute.cs
Source:
HttpPatchAttribute.cs
Source:
HttpPatchAttribute.cs

创建一个新的 HttpPatchAttribute

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

适用于

HttpPatchAttribute(String)

Source:
HttpPatchAttribute.cs
Source:
HttpPatchAttribute.cs
Source:
HttpPatchAttribute.cs

使用给定的路由模板创建新的 HttpPatchAttribute

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

参数

template
String

路由模板。 不能为 null。

适用于