DataTableReader.IsClosed Property

Definition

Gets a value that indicates whether the DataTableReader is closed.

public:
 virtual property bool IsClosed { bool get(); };
public override bool IsClosed { get; }
member this.IsClosed : bool
Public Overrides ReadOnly Property IsClosed As Boolean

Property Value

true if the DataTableReader is closed; otherwise, false.

Remarks

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

Applies to