ApiResponseType.ApiResponseFormats 属性

定义

获取或设置此类型支持的响应格式。

public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ApiExplorer::ApiResponseFormat ^> ^ ApiResponseFormats { System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ApiExplorer::ApiResponseFormat ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ApiExplorer::ApiResponseFormat ^> ^ value); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat> ApiResponseFormats { get; set; }
member this.ApiResponseFormats : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiResponseFormat> with get, set
Public Property ApiResponseFormats As IList(Of ApiResponseFormat)

属性值

IList<ApiResponseFormat>

适用于