Partager via


MediaTypeFormatterCollection Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the MediaTypeFormatterCollection class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method MediaTypeFormatterCollection() Initializes a new instance of the MediaTypeFormatterCollection class with default values.
Public method MediaTypeFormatterCollection(IEnumerable<MediaTypeFormatter>) Initializes a new instance of the MediaTypeFormatterCollection class with the given formatters.

Top

See Also

Reference

MediaTypeFormatterCollection Class

System.Net.Http.Formatting Namespace