MvcOptions.OutputFormatters 属性

定义

获取 IOutputFormatter此应用程序使用的 的列表。

public:
 property Microsoft::AspNetCore::Mvc::Formatters::FormatterCollection<Microsoft::AspNetCore::Mvc::Formatters::IOutputFormatter ^> ^ OutputFormatters { Microsoft::AspNetCore::Mvc::Formatters::FormatterCollection<Microsoft::AspNetCore::Mvc::Formatters::IOutputFormatter ^> ^ get(); };
public Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection<Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter> OutputFormatters { get; }
member this.OutputFormatters : Microsoft.AspNetCore.Mvc.Formatters.FormatterCollection<Microsoft.AspNetCore.Mvc.Formatters.IOutputFormatter>
Public ReadOnly Property OutputFormatters As FormatterCollection(Of IOutputFormatter)

属性值

适用于