Table of Contents

SupportedMediaTypes Property

Definition

SupportedMediaTypes

Gets or sets the collection of MediaTypeHeaderValue elements supported by the XmlFormatter.

public IReadOnlyCollection<MediaTypeHeaderValue> SupportedMediaTypes { get; set; }

Property Value

IReadOnlyCollection<MediaTypeHeaderValue>

A collection of MediaTypeHeaderValue elements supported by the XmlFormatter.