Click or drag to resize

FileCsvDocumentRead Method (TextReader, Boolean)

Reads CSV content from a text reader.

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

Parameters

reader
Type: System.IOTextReader
The reader to read from.
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 reader.
See Also