共用方式為


AdoDotNetSchemaReader.IsNullItem 方法 (Int32)

擷取表示位於指定索引的資料是否為 Boolean 的值是 nullnull 參考 (即 Visual Basic 中的 Nothing)。

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

語法

'宣告
Public Overrides Function IsNullItem ( _
    index As Integer _
) As Boolean
public override bool IsNullItem(
    int index
)
public:
virtual bool IsNullItem(
    int index
) override
abstract IsNullItem : 
        index:int -> bool  
override IsNullItem : 
        index:int -> bool
public override function IsNullItem(
    index : int
) : boolean

參數

  • index
    類型:Int32

    索引在指定資料項目的欄位) 可以測試 null。

傳回值

類型:Boolean
true ,如果資料項目是空的;則為,否則為 false。

實作

IVsDataReader.IsNullItem(Int32)

.NET Framework 安全性

請參閱

參考

AdoDotNetSchemaReader 類別

IsNullItem 多載

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空間