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
)
<ObsoleteAttribute("You must use ReadString(...).ToList() instead.")>
Public Function ReadStringAsList (
source As String,
maxRecords As Integer
) As List(Of T)
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:
ListTAn array of the records in the String.
See Also