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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.