Share via


DataReader.IsClosed Property

Gets a Boolean value that indicates whether the specified reader has been closed.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property IsClosed As Boolean
'Usage
Dim instance As DataReader 
Dim value As Boolean 

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

Property Value

Type: System.Boolean
true if the specified data reader is closed; otherwise, false.

Implements

IVsDataReader.IsClosed

Remarks

It is not possible to read from a reader that is closed.

Notes to Inheritors:

The derived class must override this method.

.NET Framework Security

See Also

Reference

DataReader Class

DataReader Members

Microsoft.VisualStudio.Data.Framework Namespace