# CsvProgress

Describes CSV read progress reported while records are emitted.

Struct 

`OfficeIMO.CSV`

**Namespace**

`OfficeIMO.CSV`

**Assembly**

`OfficeIMO.CSV`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[CsvProgress.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.CSV/CsvProgress.cs#L13)

**Base**

`ValueType`

**Modifiers**

sealed

Describes CSV read progress reported while records are emitted.

## Inheritance

- ValueType
- CsvProgress

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Property [CsvLoadOptions.ProgressCallback](/api/csv/officeimo-csv-csvloadoptions/#property-progresscallback)
- Property [CsvReaderOptions.ProgressCallback](/api/csv/officeimo-csv-csvreaderoptions/#property-progresscallback)

Filter members 

Show inherited

## Constructors

`public CsvProgress(long recordsRead, int lineNumber)` [#](#constructor-ctor-int64-int32)

[CsvProgress.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.CSV/CsvProgress.cs#L13)

Initializes a new progress snapshot.

Parameters

**recordsRead long required**

**lineNumber int required**

## Inherited Methods

`public override bool Equals(object? obj)` [#](#method-equals-object)

Inherited from ValueType

Parameters

**obj object? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Inherited from ValueType

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public override string? ToString()` [#](#method-tostring)

Inherited from ValueType

Returns

`string?`

## Properties

`public long RecordsRead { get; }` [#](#property-recordsread)

[CsvProgress.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.CSV/CsvProgress.cs#L20)

Gets the number of emitted records.

`public int LineNumber { get; }` [#](#property-linenumber)

[CsvProgress.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.CSV/CsvProgress.cs#L25)

Gets the current physical line number.

<!-- PowerForge markdown artifact sha256:E44A751947AAB81231AC8AEB7A7F1EA9B84744808FD627E553916D982FA21234 -->
