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