797ee977 4409 4f50 9041 48d8150928d5 - akesseler/Plexdata.CsvParser GitHub Wiki

CsvReader.Read Method (Stream)

This method tries to read all values from given stream.

Namespace: Plexdata.CsvParser.Processors
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea

Syntax

C#

public static CsvContainer Read(
	Stream stream
)

Parameters

 

stream
Type: System.IO.Stream
The stream to read data from.

Return Value

Type: CsvContainer
An instance of class CsvContainer that contains all processed CSV data items.

Exceptions

 

Exception Condition
ArgumentNullException This exception is thrown in case of given stream is invalid.
ArgumentException This exception is thrown in case of given stream does not have read access.

Remarks

This method performes reading of data with default settings. Using default settings means that header processing is enabled by default as well. But under circumstances, this may cause trouble. Therefore, it is recommended to disable header processing manually.

See Also

Reference

CsvReader Class
Read Overload
Plexdata.CsvParser.Processors Namespace

⚠️ **GitHub.com Fallback** ⚠️