JsonWriterOptions.NewLine Propriété

Définition

Obtient ou définit la nouvelle chaîne de ligne à utiliser quand Indented est true.

La valeur par défaut correspond à la valeur de 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

Valeur de propriété

Exceptions

La nouvelle chaîne de ligne est null.

La nouvelle chaîne de ligne n’est pas \n ou \r\n.

S’applique à