FileOperationsReadCSVFile Method |
Distributed Algorithm Simulator
Reads a CSV file and store values in a list of integers.
Namespace: DistributedAlgorithmSimulatorAssembly: DistributedAlgorithmSimulator (in DistributedAlgorithmSimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool ReadCSVFile(
string fileName,
ref List<int> idList,
ref string errMsg
)
Parameters
- fileName
- Type: SystemString
File name. - idList
- Type: System.Collections.GenericListInt32
Node ID list. - errMsg
- Type: SystemString
Error message. "SUCCESS" if no error.
Return Value
Type:
Booleantrue, if file was read successfully,
false otherwise.
See Also