CSVStateMachine Class

/// This state machine handles all functions of CSV processing except for the I/O, which can come in a variety /// of forms, either from a stream or an in-memory collection. /// /// Since some CSV files have a single row of data that comprises multiple lines, this state machine may or may /// not produce one row of data for each chunk of text received. ///
Public Class CSVStateMachine
This language is not supported or no code example is available.
public class CSVStateMachine
This language is not supported or no code example is available.
public ref class CSVStateMachine 
This language is not supported or no code example is available.
public class CSVStateMachine
This language is not supported or no code example is available.
Name Description
Public constructor CSVStateMachine(CSVSettings) /// Constructs a new state machine to begin processing CSV text ///
Top
Name Description
Public property State /// Whether the state machine has concluded or can continue processing ///
Top
Methods
 
Name Description
Public method NeedsMoreText() /// Returns true if we need more text ///
Public method ParseChunk(string, bool) /// Parse a new chunk of text retrieved via some other means than a stream. /// /// Call this function when you are retrieving your own text and when each chunk may or may not /// include line separators, and your stream does not consume line separators on its own. ///
Top

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition