共用方式為


AdoDotNetSchemaReader.IsNullItem 方法

擷取表示位於指定索引的資料項目布林值表示為 nullnull 參考 (即 Visual Basic 中的 Nothing)。

命名空間:  Microsoft.VisualStudio.Data.AdoDotNet
組件:  Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.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

    索引指定資料項目的欄位中可以使用來測試 nullnull 參考 (即 Visual Basic 中的 Nothing)。

傳回值

類型:Boolean
如果資料項目是 nullnull 參考 (即 Visual Basic 中的 Nothing),傳回 true ;否則會傳回 false。

.NET Framework 安全性

請參閱

參考

AdoDotNetSchemaReader 類別

Microsoft.VisualStudio.Data.AdoDotNet 命名空間