次の方法で共有


ApiResponseType.Type プロパティ

定義

応答または null の CLR データ型を取得または設定します。

public:
 property Type ^ Type { Type ^ get(); void set(Type ^ value); };
public Type Type { get; set; }
public Type? Type { get; set; }
member this.Type : Type with get, set
Public Property Type As Type

プロパティ値

注釈

アクションが応答を返さない場合、または応答の種類が不明な場合は null になります。 アクション メソッドで または Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute を使用Microsoft.AspNetCore.Mvc.ProducesAttributeして、応答の種類を指定します。

適用対象