DataTableReader.IsClosed Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that indicates whether the DataTableReader is closed.

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

public override bool IsClosed { get; }

Property Value

Type: System.Boolean

Returns true if the DataTableReader is closed; otherwise, false.

Close is the only method and IsClosed and RecordsAffected are the only properties that can be accessed after the DataTableReader has been closed.

.NET Framework
Available since 2.0
Return to top
Show: