Click or drag to resize
FileOperationsReadCSVFile Method
Distributed Algorithm Simulator
Reads a CSV file and store values in a list of integers.

Namespace: DistributedAlgorithmSimulator
Assembly: DistributedAlgorithmSimulator (in DistributedAlgorithmSimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public 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: Boolean
true, if file was read successfully, false otherwise.
See Also