Bagikan melalui


ApiDescription.SupportedRequestFormats Properti

Definisi

Mendapatkan daftar kemungkinan format untuk permintaan.

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)

Nilai Properti

Keterangan

Akan kosong jika tindakan tidak menerima parameter yang dihiasi dengan [FromBody] atribut .

Berlaku untuk