ApiResponseType.Type Vlastnost

Definice

Získá nebo nastaví datový typ CLR odpovědi nebo null.

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

Hodnota vlastnosti

Type

Poznámky

Bude null, pokud akce nevrátí žádnou odpověď nebo pokud typ odpovědi není nejasný. K určení typu odpovědi použijte Microsoft.AspNetCore.Mvc.ProducesAttribute nebo Microsoft.AspNetCore.Mvc.ProducesResponseTypeAttribute pro metodu akce.

Platí pro