Freigeben über


XmlSerializationDefinition.WriteOptionalPropertiesWithDefaultValue Property

Definition

Gets or sets the value of WriteOptionalPropertiesWithDefaultValue domain property. If True, properties with default value will be be written out to the saved file.

public:
 property bool WriteOptionalPropertiesWithDefaultValue { bool get(); void set(bool value); };
[Microsoft.VisualStudio.Modeling.Design.CategoryResource("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinition/WriteOptionalPropertiesWithDefaultValue.Category", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinition/WriteOptionalPropertiesWithDefaultValue.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinition/WriteOptionalPropertiesWithDefaultValue.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.DomainObjectId("3bf2fb70-73e0-414e-be67-ea238ecbeb47")]
public bool WriteOptionalPropertiesWithDefaultValue { [System.Diagnostics.DebuggerStepThrough] get; [System.Diagnostics.DebuggerStepThrough] set; }
[<Microsoft.VisualStudio.Modeling.Design.CategoryResource("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinition/WriteOptionalPropertiesWithDefaultValue.Category", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinition/WriteOptionalPropertiesWithDefaultValue.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinition/WriteOptionalPropertiesWithDefaultValue.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.DomainObjectId("3bf2fb70-73e0-414e-be67-ea238ecbeb47")>]
[<get: System.Diagnostics.DebuggerStepThrough>]
[<set: System.Diagnostics.DebuggerStepThrough>]
member this.WriteOptionalPropertiesWithDefaultValue : bool with get, set
Public Property WriteOptionalPropertiesWithDefaultValue As Boolean

Property Value

Attributes

Applies to