ExcelReadCSV Method
Reads a csv file and returns a list of lists of cells (one list of cells per row)
Namespace: PCBI.Automation.IOAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static List<List<ExcelCell>> ReadCSV(
IFileData csvFile,
out string error,
char seperator = '?'
)
Public Shared Function ReadCSV (
csvFile As IFileData,
<OutAttribute> ByRef error As String,
Optional seperator As Char = "?"C
) As List(Of List(Of ExcelCell))
public:
static List<List<ExcelCell^>^>^ ReadCSV(
IFileData^ csvFile,
[OutAttribute] String^% error,
wchar_t seperator = L'?'
)
static member ReadCSV :
csvFile : IFileData *
error : string byref *
?seperator : char
(* Defaults:
let _seperator = defaultArg seperator '?'
*)
-> List<List<ExcelCell>>
- csvFile IFileData
- CSV File to read
- error String
- Returns the error information if funtion fails
- seperator Char (Optional)
- Used seperator in the csv or '?' to automatically recognize ',' or ';'
ListListExcelCellList of lists of cells