Click or drag to resize

CommonEngineReadFileT Method (String, Int32)

Used to read a file without instantiating the engine.
This method has limited features. We recommend using the non static methods.

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public static T[] ReadFile<T>(
	string fileName,
	int maxRecords
)
where T : class

Parameters

fileName
Type: SystemString
The file name
maxRecords
Type: SystemInt32
The max number of records to read. Int32.MaxValue or -1 to read all records.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:FileHelpers.CommonEngine.ReadFile``1(System.String,System.Int32)"]

Return Value

Type: T
The read records.
See Also