语言

JsonWriterOptions.NewLine 属性

定义

获取或设置在何时true使用Indented的新行字符串。

默认为 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

属性值

例外

新行字符串为 null.

新行字符串不是 \n 或 \r\n。

适用于