共用方式為


ProducesDefaultResponseTypeAttribute 建構函式

定義

多載

ProducesDefaultResponseTypeAttribute()

初始化 ProducesResponseTypeAttribute 的執行個體。

ProducesDefaultResponseTypeAttribute(Type)

初始化 ProducesResponseTypeAttribute 的執行個體。

ProducesDefaultResponseTypeAttribute()

來源:
ProducesDefaultResponseTypeAttribute.cs

初始化 ProducesResponseTypeAttribute 的執行個體。

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

適用於

ProducesDefaultResponseTypeAttribute(Type)

來源:
ProducesDefaultResponseTypeAttribute.cs

初始化 ProducesResponseTypeAttribute 的執行個體。

public:
 ProducesDefaultResponseTypeAttribute(Type ^ type);
public ProducesDefaultResponseTypeAttribute (Type type);
new Microsoft.AspNetCore.Mvc.ProducesDefaultResponseTypeAttribute : Type -> Microsoft.AspNetCore.Mvc.ProducesDefaultResponseTypeAttribute
Public Sub New (type As Type)

參數

type
Type

Type要在回應中寫入之物件的 。

適用於