SerializationContext.WriteOptionalPropertiesWithDefaultValue Propriété

Définition

Indique si les propriétés facultatives avec valeur par défaut doivent être écrites pendant la sérialisation.

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

Valeur de propriété

Boolean
Attributs

S’applique à