Version

ReCalc() Method

Forces recalculation of all dirtied items in the Calculation Network.
Syntax
'Declaration
 
Public Overloads Function ReCalc() As Boolean
public bool ReCalc()

Return Value

Returns a boolean indicating if anything in the calculation network remains dirty.
Remarks

Developers can use this method to manually perform a synchronous recalculation. The calculation engine will consume as much time as necessary to completely recalculate all dirty items; however it's possible error conditions raised as events during the calculation might prevent the calculation from being completed without application intervention.

Calling this method synchronously may lead to a lack of UI interactivity when there are substantial recalculations to be performed (for instance, when the calculation engine first initializes calculated values within the grid), for which use of the ReCalc(Int64) method is prescribed. The intention of this method is to allow developers to implement an asynchronous design pattern with BeginInvoke and EndInvoke.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also