CSVReader.FromFile Method

/// Convenience function to read from a file on disk ///
Public Shared Function FromFile( _ 
ByVal filename As String, _ 
Optional ByVal settings As CSVSettings = null, _ 
Optional ByVal encoding As Encoding = null _ 
) As CSVReader
This language is not supported or no code example is available.
public static CSVReader FromFile( 
string filename
CSVSettings settings = null, 
Encoding encoding = null 
)
This language is not supported or no code example is available.
public:  
static CSVReader^ FromFile( 
String^ filename
CSVSettings^ settings
Encoding^ encoding 
)
This language is not supported or no code example is available.
public static function FromFile( 
filename : String
settings : CSVSettings
encoding : Encoding 
) : CSVReader;
This language is not supported or no code example is available.

Parameters

filename
string

The file to read

settings
CSVSettings

The CSV settings to use for this reader (Default: CSV)

encoding
Encoding

The string encoding to use for the reader (Default: UTF8)

Return Value

CSVReader

.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