共用方式為


DataParameter.GetIsNullableCore 方法

擷取表示目前參數指出 Boolean 值可以是 nullnull 參考 (即 Visual Basic 中的 Nothing)。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)

語法

'宣告
Protected Overridable Function GetIsNullableCore As Boolean
protected virtual bool GetIsNullableCore()
protected:
virtual bool GetIsNullableCore()
abstract GetIsNullableCore : unit -> bool  
override GetIsNullableCore : unit -> bool
protected function GetIsNullableCore() : boolean

傳回值

類型:Boolean
true ,如果目前參數可以有 null 值;則為,否則為 false。

備註

這個方法是由 IsNullable 屬性的實作會呼叫。

繼承者注意事項

這個方法的基底實作會傳回 true。

.NET Framework 安全性

請參閱

參考

DataParameter 類別

Microsoft.VisualStudio.Data.Framework 命名空間