CSVDataTable.FromStream Method

/// Read in a single CSV file into a datatable in memory ///
Public Shared Function FromStream( _ 
ByVal stream As StreamReader, _ 
Optional ByVal settings As CSVSettings = null _ 
) As DataTable
This language is not supported or no code example is available.
public static DataTable FromStream( 
StreamReader stream
CSVSettings settings = null 
)
This language is not supported or no code example is available.
public:  
static DataTable^ FromStream( 
StreamReader^ stream
CSVSettings^ settings 
)
This language is not supported or no code example is available.
public static function FromStream( 
stream : StreamReader
settings : CSVSettings 
) : DataTable;
This language is not supported or no code example is available.

Parameters

stream
StreamReader

The stream source from which to load the datatable.

settings
CSVSettings

The CSV settings to use when exporting this array (Default: CSV)

Return Value

DataTable

An data table of strings that were retrieved from the CSV file.

.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