Creates a new TablePlotColumn from columnName and inserts it in the collection at the given index.
Namespace: Spotfire.Dxp.Application.VisualsAssembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- index
- Type: System Int32
The index in the collection where the column should be inserted.
- columnName
- Type: System String
The name of the DataColumn in the datatable that this collection works on.
Return Value
Type: TThe newly created TablePlotColumn
Exceptions
Exception | Condition |
---|---|
System ArgumentException | If index is negative or larger than the number of columns in the collection. |
System ArgumentNullException | If the columnName is null. |
System ArgumentException | If the columnName is not a column in the datatable this collection works on. |
Version Information
See Also