UseColumn(int, VariableType, string, string)

Add a column to be imported from the specified data source column index and configured as the specified variable type. The order in which columns are added determines their order in the table/>.

If unit is `null`, the default unit (in the active unit system) for the specified variable type will be assumed during import.

If name is `null` or empty, a unique name will be generated from the specified variableType during import.

A reference to the instance is returned so that invocations can be chained together.

Declaration Syntax

public ColumnarDataSourceBase UseColumn(int index, VariableType variableType, string unit, string name)

Parameters

index(int)

The specified data source column index to be imported.

variableType(VariableType)

The specified variable type of the data source column.

unit(string)

The specified unit for the data source column (optional).

name(string)

The specified name for the data source column (optional).