FileCsvDocumentRead Method (String, Boolean) |
Reads a CSV file from disk.
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic static FileCsvDocument Read(
string path,
bool hasHeader
)
Public Shared Function Read (
path As String,
hasHeader As Boolean
) As FileCsvDocument
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:
FileCsvDocumentA new document populated with the contents of the file.
See Also