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
public abstract bool IsClosed { get; }
public:
virtual property bool IsClosed {
    bool get () abstract;
}
abstract IsClosed : bool with get
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

Microsoft.VisualStudio.Data.Framework Namespace