Click or drag to resize

FileCsvDocument Constructor (String)

Constructs a new, empty document with a header row of column names. The number of columns is the number of names supplied, and the header is written ahead of the data rows by Save(String). Columns can then be addressed by name (see ColumnIndex(String) and the name-keyed TryGet overloads).

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public FileCsvDocument(
	params string[] columnNames
)

Parameters

columnNames
Type: SystemString
The column names. At least one is required.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when columnNames is null or empty.
See Also