Click or drag to resize

FileHelperEngineTReadStringAsList Method (String, Int32)

Note: This API is now obsolete.

Read a String and return an array of the contained records.

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
[ObsoleteAttribute("You must use ReadString(...).ToList() instead.")]
public List<T> ReadStringAsList(
	string source,
	int maxRecords
)

Parameters

source
Type: SystemString
The string that contains the records.
maxRecords
Type: SystemInt32
The max number of records to read. Int32.MaxValue or -1 to read all records.

Return Value

Type: ListT
An array of the records in the String.
See Also