DbSyncColumnDescription.DefaultValue 屬性
在建立新的資料列時取得或設定資料行的預設值。
命名空間: Microsoft.Synchronization.Data
組件: Microsoft.Synchronization.Data (在 microsoft.synchronization.data.dll)
語法
'宣告
<XmlAttributeAttribute("default")> _
Public Property DefaultValue As String
'用途
Dim instance As DbSyncColumnDescription
Dim value As String
value = instance.DefaultValue
instance.DefaultValue = value
[XmlAttributeAttribute("default")]
public string DefaultValue { get; set; }
[XmlAttributeAttribute(L"default")]
public:
property String^ DefaultValue {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_DefaultValue ()
/** @property */
public void set_DefaultValue (String value)
public function get DefaultValue () : String
public function set DefaultValue (value : String)
屬性值
此資料行的預設值 (如果有設定的話),否則為空字串。
請參閱
參考
DbSyncColumnDescription 類別
DbSyncColumnDescription 成員
Microsoft.Synchronization.Data 命名空間