XmlWriterSettings.Reset Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Resets the members of the settings class to their default values.

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)

Syntax

Public Sub Reset
public void Reset()

Remarks

The following table shows the default property values for an instance of XmlWriterSettings.

Property

Initial value

CheckCharacters

true.

CloseOutput

false.

ConformanceLevel

Document.

Encoding

Encoding.UTF8.

Indent

false.

IndentChars

Two spaces.

NewLineChars

\r\n.

NewLineHandling

Replace.

NewLineOnAttributes

false.

OmitXmlDeclaration

false.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

XmlWriterSettings Class

System.Xml Namespace