Click or drag to resize

FileCsvDocumentSetRow Method (Int32, String)

Sets the fields of a row, addressed by index, growing the document as needed (any intervening rows are created and filled with empty fields). This is the row-level counterpart to GetRow(Int32). The number of fields must equal ColumnCount. A null field is stored as an empty field.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public void SetRow(
	int row,
	params string[] values
)

Parameters

row
Type: SystemInt32
The zero-based row index (y).
values
Type: SystemString
The fields of the row, one per column.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when row is negative.
ArgumentNullExceptionThrown when values is null.
ArgumentExceptionThrown when the number of fields does not equal ColumnCount.
See Also