Share via


DbSyncColumnDescription.DefaultValueSpecified Property

Gets or sets whether a value is specified for the DefaultValue property.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Property DefaultValueSpecified As Boolean
    Get
    Set
'Usage
Dim instance As DbSyncColumnDescription
Dim value As Boolean

value = instance.DefaultValueSpecified

instance.DefaultValueSpecified = value
public bool DefaultValueSpecified { get; set; }
public:
property bool DefaultValueSpecified {
    bool get ();
    void set (bool value);
}
member DefaultValueSpecified : bool with get, set
function get DefaultValueSpecified () : boolean
function set DefaultValueSpecified (value : boolean)

Property Value

Type: System.Boolean
true if a value is specified for DefaultValue; otherwise false.

Remarks

This property is used when Sync Framework serializes column information to XML. If the value of this property is false, the value of DefaultValue is undefined and should be ignored. In that case, the value of DefaultValue will not be serialized.

See Also

Reference

DbSyncColumnDescription Class

Microsoft.Synchronization.Data Namespace