OdbcDataReader.IsClosed 属性
定义
指示 OdbcDataReader 是否关闭。Indicates whether the OdbcDataReader is closed.
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
属性值
如果 OdbcDataReader 已关闭,则为 true;否则为 false。true if the OdbcDataReader is closed; otherwise false.
实现
注解
IsClosed 和 RecordsAffected 是在关闭 OdbcDataReader 后可以调用的唯一属性。IsClosed and RecordsAffected are the only properties that you can call after the OdbcDataReader is closed.