CalculationSettingsAddDependency Method (CalculationDependencyIdentifier, DataSelection) TIBCO Spotfire 7.6 API Reference
Creates a dependency on a dataselection identified by identifier. If a dependency with that identifier already exists it will replace the old dependency with the new one.

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

C#
protected void AddDependency(
	CalculationDependencyIdentifier identifier,
	DataSelection selection
)

Parameters

identifier
Type: Spotfire.Dxp.Application.CalculationsCalculationDependencyIdentifier
The CalculationDependencyIdentifier used to identify and ask for the columns.
selection
Type: Spotfire.Dxp.DataDataSelection
The DataSelection to add a dependency on.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf identifier and/or selection is null.
Remarks

Note that a filtering selection will not cause automatic recalculation even if the updatebehavior is set to Calculate. The reason is that this might cause slow performance when filtering. It is recommmended to use Invalidate behavior instead.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference