Export (0) Print
Expand All

NewLineHandling Enumeration

Specifies how to handle line breaks.

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

public enum NewLineHandling

Member nameDescription
Supported by Silverlight for Windows PhoneSupported by Xbox 360ReplaceNew line characters are replaced to match the character specified in the NewLineChars property.
Supported by Silverlight for Windows PhoneSupported by Xbox 360EntitizeNew line characters are entitized. This setting preserves all characters when the output is read by a normalizing XmlReader.
Supported by Silverlight for Windows PhoneSupported by Xbox 360NoneThe new line characters are unchanged. The output is the same as the input.

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft