JsonWriterOptions.NewLine Property

Definition

Gets or sets the new line string to use when Indented is true.

The default is the value of NewLine.

public:
 property System::String ^ NewLine { System::String ^ get(); void set(System::String ^ value); };
public string NewLine { get; set; }
member this.NewLine : string with get, set
Public Property NewLine As String

Property Value

Exceptions

Thrown when the new line string is null.

Thrown when the new line string is not \n or \r\n.

Applies to