Table of Contents

XmlFormatterOptions Constructor

Definition

XmlFormatterOptions()

Initializes a new instance of the XmlFormatterOptions class.

public XmlFormatterOptions()

Remarks

The following table shows the initial property values for an instance of XmlFormatterOptions.

PropertyInitial Value
SettingsXmlSerializerOptions
SynchronizeWithXmlConverttrue
SensitivityDetailsNone
SupportedMediaTypes
        <pre><code class="lang-csharp">new List<MediaTypeHeaderValue>()

{ new("application/xml"), new("text/xml") };

    </td></tr></tbody></table>