System.Xml.XmlWriterSettings.NewLineChars Property

Gets or sets the character string to use for line breaks.

Syntax

public string NewLineChars { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This property only applies to System.Xml.XmlWriter instances that output text content; otherwise, this setting is ignored. The System.Xml.XmlWriter throws an exception if the line break characters would result in invalid XML.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0