CSV.ParseStream Method

/// Parse a CSV stream into IEnumerable<string[]> , while permitting embedded newlines ///
Public Shared Function ParseStream( _ 
ByVal inStream As StreamReader, _ 
Optional ByVal settings As CSVSettings = null _ 
) As IEnumerable(Of String[])
This language is not supported or no code example is available.
public static IEnumerable<string[]> ParseStream( 
StreamReader inStream
CSVSettings settings = null 
)
This language is not supported or no code example is available.
public:  
static IEnumerable<array< String^ >^>^ ParseStream( 
StreamReader^ inStream
CSVSettings^ settings 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

inStream
StreamReader

The stream to read

settings
CSVSettings

The CSV settings to use for this parsing operation (Default: CSV)

Return Value

IEnumerable<string[]>

An enumerable object that can be examined to retrieve rows from the stream.

.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