SqlDataReader.HasRows プロパティ

定義

SqlDataReader に 1 行以上の行が格納されているかどうかを示す値を取得します。

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

プロパティ値

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

適用対象

こちらもご覧ください