JsonWriterOptions.IndentCharacter 屬性

定義

定義啟用 Indented 時,Utf8JsonWriter 所使用的縮排字元。 預設為空格字元。

public:
 property char IndentCharacter { char get(); void set(char value); };
public char IndentCharacter { get; set; }
member this.IndentCharacter : char with get, set
Public Property IndentCharacter As Char

屬性值

例外狀況

value 包含無效的字元。

備註

允許的字元為空格和水平索引標籤。

適用於