SerializationContext.WriteOptionalPropertiesWithDefaultValue Property

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

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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: Boolean

.NET Framework Security

See Also

Reference

SerializationContext Class

Microsoft.VisualStudio.Modeling Namespace