Click or drag to resize

FileCsvDocumentRead Method (String, Boolean)

Reads a CSV file from disk.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static FileCsvDocument Read(
	string path,
	bool hasHeader
)

Parameters

path
Type: SystemString
The path of the file to read.
hasHeader
Type: SystemBoolean
When true, the first row is taken as the column-name header and is not counted as a data row.

Return Value

Type: FileCsvDocument
A new document populated with the contents of the file.
See Also