Formatters Property
Collapse the table of content
Expand the table of content

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)

public MediaTypeFormatterCollection Formatters { get; }

Property Value

Type: System.Net.Http.Formatting.MediaTypeFormatterCollection

The collection of MediaTypeFormatter instances.

Return to top
Show:
© 2016 Microsoft