Click or drag to resize

FileCsvDocumentColumnIndex Method

Returns the zero-based index of the column with the given name (case-insensitive), or -1 if the document has no header or no column with that name. When names are duplicated, the first is returned.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public int ColumnIndex(
	string name
)

Parameters

name
Type: SystemString
The column name to look up.

Return Value

Type: Int32
The column index, or -1.
See Also