Generator.Nullable 屬性
取得或設定值,這個值表示此資料行是否可以設為 nullNull 參照 (即 Visual Basic 中的 Nothing)。
命名空間: Microsoft.Data.Schema.Tools.DataGenerator
組件: Microsoft.Data.Schema.Tools (在 Microsoft.Data.Schema.Tools.dll 中)
語法
'宣告
<InputAttribute(AutoAssignedInput := AutoAssignedInput.Nullable, Visible := False)> _
Public Property Nullable As Boolean
Get
Set
[InputAttribute(AutoAssignedInput = AutoAssignedInput.Nullable, Visible = false)]
public bool Nullable { get; set; }
[InputAttribute(AutoAssignedInput = AutoAssignedInput::Nullable, Visible = false)]
public:
property bool Nullable {
bool get ();
void set (bool value);
}
[<InputAttribute(AutoAssignedInput = AutoAssignedInput.Nullable, Visible = false)>]
member Nullable : bool with get, set
function get Nullable () : boolean
function set Nullable (value : boolean)
屬性值
型別:System.Boolean
如果這個資料行可以設為 nullNull 參照 (即 Visual Basic 中的 Nothing) 則為 true,否則為 false。
備註
這個屬性會以 InputAttribute 和 AutoAssignedInput 具名參數來裝飾。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。