NewLineHandling Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies how to handle line breaks.
Assembly: System.Xml (in System.Xml.dll)
| Member name | Description | |
|---|---|---|
| Entitize | New line characters are entitized. This setting preserves all characters when the output is read by a normalizing XmlReader. | |
| None | The new line characters are unchanged. The output is the same as the input. | |
| Replace | New line characters are replaced to match the character specified in the NewLineChars property. |
This enumeration is passed to the Create method to specify whether the XmlWriter object will normalize line breaks in the output.
See the NewLineHandling property to see a table detailing the behavior of each validation type.
Show: