DataColumnAsT Method

Spotfire 14.2 API Reference
Gets a representation of the DataColumn for modification of properties that are not part of a standard DataColumn. If this is a calculated column then the CalculatedColumn class can be retrieved from this method. If this is a tags column then the TagsColumn class can be retrieved and if this is a hierarchy column then the HierarchyColumn class can be retrieved. If this is a result column then the ResultColumn class can be retrieved. The classes which can be retrieved will be extended in the future.

Namespace:  Spotfire.Dxp.Data
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 64.0.19329.3263 (64.0.19329.3263)
Syntax

C#
public T As<T>()

Type Parameters

T
The requested type.

Return Value

Type: T
An object of the requested type.
Exceptions

ExceptionCondition
InvalidOperationExceptionThrown if the DataColumn cannot supply a class of the given type.
Version Information

Supported in: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also

Reference