OleDbDataReader.HasRows プロパティ

定義

OleDbDataReaderに 1 つ以上の行が含まれているかどうかを示す値を取得します。

public:
 property bool HasRows { bool get(); };
public:
 virtual property bool HasRows { bool get(); };
public bool HasRows { get; }
public override bool HasRows { get; }
member this.HasRows : bool
Public ReadOnly Property HasRows As Boolean
Public Overrides ReadOnly Property HasRows As Boolean

プロパティ値

true OleDbDataReaderに 1 つ以上の行が含まれている場合は、それ以外の場合はfalse

適用対象

こちらもご覧ください