ca432992 923f 9787 6648 2425644e0089 - akesseler/Plexdata.CsvParser GitHub Wiki

CsvImporter(TInstance).Load Method (String)

This method tries to load all values from given file.

Namespace: Plexdata.CsvParser.Processors
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea

Syntax

C#

public static IEnumerable<TInstance> Load(
	string filename
)

Parameters

 

filename
Type: System.String
The fully qualified path of the input file.

Return Value

Type: IEnumerable(TInstance)
A list of classes of TInstance.

Exceptions

 

Exception Condition
ArgumentException This exception is thrown in case of an invalid file name.
FileNotFoundException This exception is thrown in case of a file with given name does not exist.

Remarks

This method performes loading of data with default settings. Using default settings means that the header is processed, but only if one exist. Further, the information for header processing is taken from column attributes or from property names.

See Also

Reference

CsvImporter(TInstance) Class
Load Overload
Plexdata.CsvParser.Processors Namespace

⚠️ **GitHub.com Fallback** ⚠️