Freigeben über


SerializationContext.WriteOptionalPropertiesWithDefaultValue Property

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

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

Syntax

'Declaration
Public Property WriteOptionalPropertiesWithDefaultValue As Boolean
    Get
    Set
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