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 命名空间