Compartir a través de


ApiDescription.SupportedRequestFormats Propiedad

Definición

Obtiene la lista de posibles formatos para una solicitud.

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)

Valor de propiedad

Comentarios

Estará vacío si la acción no acepta un parámetro decorado con el [FromBody] atributo .

Se aplica a