共用方式為


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
預設值。

備註

這個屬性會以 InputAttributeAutoAssignedInput 具名參數來裝飾。

.NET Framework 安全性

請參閱

參考

Generator 類別

Microsoft.Data.Schema.Tools.DataGenerator 命名空間

InputAttribute

AutoAssignedInput