Click or drag to resize
Accord.NET (logo)

CsvReaderCheckDisposed Method

Checks if the instance has been disposed of, and if it has, throws an ObjectDisposedException; otherwise, does nothing.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
protected void CheckDisposed()
Request Example View Source
Exceptions
ExceptionCondition
ObjectDisposedException The instance has been disposed of.
Remarks
Derived classes should call this method at the start of all methods and properties that should not be accessed after a call to [M:Dispose()].
See Also