Condividi tramite


ApiDescription.SupportedRequestFormats Proprietà

Definizione

Ottiene l'elenco dei formati possibili per una richiesta.

public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ApiExplorer::ApiRequestFormat ^> ^ SupportedRequestFormats { System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ApiExplorer::ApiRequestFormat ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiRequestFormat> SupportedRequestFormats { get; }
member this.SupportedRequestFormats : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiRequestFormat>
Public ReadOnly Property SupportedRequestFormats As IList(Of ApiRequestFormat)

Valore della proprietà

Commenti

Sarà vuoto se l'azione non accetta un parametro decorato con l'attributo [FromBody] .

Si applica a