CalculationCollection AddNew TCalculation  Method TIBCO Spotfire 6.0 API Reference
Adds a new instance of the given calculation type to this collection.

Namespace: Spotfire.Dxp.Application.Calculations
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public TCalculation AddNew<TCalculation>()
where TCalculation : Calculation
Type Parameters

TCalculation

Return Value

Type: TCalculation
The calculation object constructed and added to this collection.
Exceptions

ExceptionCondition
System InvalidOperationExceptionIf no CalculationFactory for TCalculation is registered in the CalculationRegistry
See Also