XmlWriterSettings public sealed class XmlWriterSettings Documentation public bool Async { get; set; } public bool CheckCharacters { get; set; } public bool CloseOutput { get; set; } public ConformanceLevel ConformanceLevel { get; set; } public Encoding Encoding { get; set; } public bool Indent { get; set; } public string IndentChars { get; set; } public NamespaceHandling NamespaceHandling { get; set; } public string NewLineChars { get; set; } public NewLineHandling NewLineHandling { get; set; } public bool NewLineOnAttributes { get; set; } public bool OmitXmlDeclaration { get; set; } public bool WriteEndDocumentOnClose { get; set; } public XmlWriterSettings() public XmlWriterSettings Clone() public void Reset()