HttpControllerSettings.Formatters Property

 

Gets the collection of MediaTypeFormatter instances for the controller.

Namespace:   System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public MediaTypeFormatterCollection Formatters { get; }
public:
property MediaTypeFormatterCollection^ Formatters {
    MediaTypeFormatterCollection^ get();
}
member Formatters : MediaTypeFormatterCollection with get
Public ReadOnly Property Formatters As MediaTypeFormatterCollection

Property Value

Type: System.Net.Http.Formatting.MediaTypeFormatterCollection

The collection of MediaTypeFormatter instances.

See Also

HttpControllerSettings Class
System.Web.Http.Controllers Namespace

Return to top