Generator.DefaultValue 属性
获取或设置列的默认值。
命名空间: Microsoft.Data.Schema.Tools.DataGenerator
程序集: Microsoft.Data.Schema.Tools(在 Microsoft.Data.Schema.Tools.dll 中)
语法
声明
<InputAttribute(AutoAssignedInput := AutoAssignedInput.DefaultValue, ReadOnly := True, _
Visible := False)> _
Public Property DefaultValue As String
Get
Set
[InputAttribute(AutoAssignedInput = AutoAssignedInput.DefaultValue, ReadOnly = true,
Visible = false)]
public string DefaultValue { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::DefaultValue, ReadOnly = true,
Visible = false)]
public:
property String^ DefaultValue {
String^ get ();
void set (String^ value);
}
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.DefaultValue, ReadOnly = true,
Visible = false)>]
member DefaultValue : string with get, set
function get DefaultValue () : String
function set DefaultValue (value : String)
属性值
类型:System.String
默认值。
备注
用 InputAttribute 和 AutoAssignedInput 命名参数对该属性进行了修饰。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。