Creates a new TablePlotColumn from columnName and inserts it in the collection at the given index.
Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public T Insert( int index, string columnName )
Parameters
- index
- Type: SystemInt32
The index in the collection where the column should be inserted. - columnName
- Type: SystemString
The name of the DataColumn in the datatable that this collection works on.
Return Value
Type: TThe newly created TablePlotColumn
Exceptions
Exception | Condition |
---|---|
ArgumentException | If index is negative or larger than the number of columns in the collection. |
ArgumentNullException | If the columnName is null. |
ArgumentException | If the columnName is not a column in the datatable this collection works on. |
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also