XdmWriterSettings.NewLineChars PropertyXdmWriterSettings.NewLineChars PropertyXdmWriterSettings::NewLineChars Property

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

Syntax

Public Property NewLineChars As String
        Get
        Set(ByVal value As String)
public string NewLineChars { get; set; }
public:
property String^ NewLineChars {
    String^ get();
    void set(String^ value);
}
 

Property Value

Type: System.StringSystem.StringSystem::String^

The character string to use for line breaks.

Remarks

All line break (
 characters) and new lines introduced by indentation are replaced with the string specified by this property.

This is equivalent to the new-line-chars parameter in the http://www.xmlprime.com/serialization namespace.

This property defaults to NewLineNewLineNewLine.

This property is ignored if MethodMethodMethod is set to CanonicalOutputMethodCanonicalOutputMethodCanonicalOutputMethod.