IsClosed Property

DataTableReader.IsClosed Property


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
© 2015 Microsoft