Freigeben über


DataReader.IsClosed Property

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

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

Syntax

'Declaration
Public MustOverride ReadOnly Property IsClosed As Boolean
    Get
public abstract bool IsClosed { get; }
public:
virtual property bool IsClosed {
    bool get () abstract;
}
abstract IsClosed : bool
abstract function get IsClosed () : boolean

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

DataReader Class

Microsoft.VisualStudio.Data Namespace