DataTableReader::IsClosed Property


Gets a value that indicates whether the DataTableReader is closed.

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

property bool IsClosed {
	virtual bool get() override;

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