LibCSV.CSVReader.Dispose C# (CSharp) Méthode

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void
        protected virtual void Dispose(bool disposing)
        {
            if (!IsDisposed)
            {
                if (disposing)
                {
                    if (_ownsReader && _reader != null)
                    {
                        _reader.Close();
                        _reader = null;
                    }

                    if (_reader != null)
                    {
                        _reader.Dispose();
                    }

                    _reader = null;
                    _dialect = null;
                    _fields = null;
                    _buffer = null;
                }

                IsDisposed = true;
            }
        }

Same methods

CSVReader::Dispose ( ) : void