Share via


EmitDefaultValue Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets a value that specifies whether to serialize the default value for a field or property being serialized.

Namespace:  Ws.ServiceModel
Assembly:  MFWsStack (in MFWsStack.dll)

Syntax

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

Property Value

Type: System. . :: . .Boolean
true if the default value for a member should be generated in the serialization stream; otherwise, false. The default is true.

.NET Framework Security

See Also

Reference

DataMemberAttribute Class

Ws.ServiceModel Namespace