共用方式為


OleDbDataReader.IsClosed 屬性

定義

指出資料讀取器是否關閉。

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

屬性值

如果 OleDbDataReader 已關閉則為 true,否則為 false

實作

備註

IsClosedRecordsAffected 是在關閉 OleDbDataReader 後唯一可呼叫的屬性。

適用於

另請參閱