TablePlotColumnCollectionTInsert Method

TIBCO Spotfire 11.4 API Reference
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: 51.0.16121.3915 (51.0.16121.3915)
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: T
The newly created TablePlotColumn
Exceptions

ExceptionCondition
ArgumentExceptionIf index is negative or larger than the number of columns in the collection.
ArgumentNullExceptionIf the columnName is null.
ArgumentExceptionIf the columnName is not a column in the datatable this collection works on.
Version Information

Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference