Share via


SqlCeDataReader.IsClosed Property

Indicates whether the data reader is closed.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property IsClosed As Boolean
    Get
'Usage
Dim instance As SqlCeDataReader
Dim value As Boolean

value = instance.IsClosed
public override bool IsClosed { get; }
public:
virtual property bool IsClosed {
    bool get () override;
}
abstract IsClosed : bool
override IsClosed : bool
override function get IsClosed () : boolean

Property Value

Type: System.Boolean
true if the SqlCeDataReader is closed; otherwise, false.

Implements

IDataReader.IsClosed

Remarks

IsClosed and RecordsAffected are the only properties that you can call after the SqlCeDataReader is closed.

See Also

Reference

SqlCeDataReader Class

System.Data.SqlServerCe Namespace