API Reference

Interface

ICsvProjectedFieldSpanVisitor

Namespace OfficeIMO.CSV
Assembly OfficeIMO.CSV
Modifiers abstract

Optional extension for field-span visitors that only consume selected fields.

Methods

public abstract Boolean ShouldVisitField(Int32 recordIndex, Int32 fieldIndex) #
Returns: Boolean

Indicates whether the visitor wants to receive a parsed field. The parser still validates record structure and field counts.

Parameters

recordIndex System.Int32 requiredposition: 0
Zero-based emitted record index.
fieldIndex System.Int32 requiredposition: 1
Zero-based field index within the record.

Returns

true to receive the field; otherwise the parser skips materializing or dispatching it when possible.