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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。