SerializationContext.WriteOptionalPropertiesWithDefaultValue Property

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

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Property WriteOptionalPropertiesWithDefaultValue As Boolean
public bool WriteOptionalPropertiesWithDefaultValue { get; set; }
public:
property bool WriteOptionalPropertiesWithDefaultValue {
    bool get ();
    void set (bool value);
}
member WriteOptionalPropertiesWithDefaultValue : bool with get, set
function get WriteOptionalPropertiesWithDefaultValue () : boolean 
function set WriteOptionalPropertiesWithDefaultValue (value : boolean)

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SerializationContext Class

Microsoft.VisualStudio.Modeling Namespace