SqlCeDataReader.IsClosed Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Indicates whether the data reader is closed.

  [Visual Basic]
  Public Overridable ReadOnly Property IsClosed As Boolean  _
   Implements IDataReader.IsClosed
[C#]
public virtual bool IsClosed {get;}
[C++]
public: __property virtual bool get_IsClosed();
[JScript]
public function get IsClosed() : Boolean;

Property Value

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.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeDataReader Class | SqlCeDataReader Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.