ApiDescription.SupportedRequestFormats Propriété

Définition

Obtient la liste des formats possibles pour une requête.

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)

Valeur de propriété

Remarques

Sera vide si l’action n’accepte pas de paramètre décoré avec l’attribut [FromBody] .

S’applique à