SerializationContext.WriteOptionalPropertiesWithDefaultValue Property

Definition

Whether optional properties with default value should be written out during serialization.

public:
 property bool WriteOptionalPropertiesWithDefaultValue { bool get(); void set(bool value); };
[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]
public bool WriteOptionalPropertiesWithDefaultValue { [System.Diagnostics.DebuggerStepThrough] get; [System.Diagnostics.DebuggerStepThrough] set; }
[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]
[<get: System.Diagnostics.DebuggerStepThrough>]
[<set: System.Diagnostics.DebuggerStepThrough>]
member this.WriteOptionalPropertiesWithDefaultValue : bool with get, set
Public Property WriteOptionalPropertiesWithDefaultValue As Boolean

Property Value

Attributes

Applies to