語言

JsonValueReaderWriter.HandlesNullWrites 屬性

定義

若 true, ToJson(Utf8JsonWriter, Object) 則空點會傳遞給寫入者的方法。 否則,空值總是寫成 null。

public virtual bool HandlesNullWrites { get; }
member this.HandlesNullWrites : bool
Public Overridable ReadOnly Property HandlesNullWrites As Boolean

屬性值

備註

預設值為 false。

適用於