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
new List<MediaTypeHeaderValue>()
{
    new("application/xml"),
    new("text/xml")
};