'Declaration Public Function Calculate( _ ByVal formula As String _ ) As UltraCalcValue
public UltraCalcValue Calculate( string formula )
Exception | Description |
---|---|
Infragistics.UltraCalcException | Thrown when the formula contains a syntax error. |
Calculate does not ensure that all dependents of the specified formula are up-to-date and calculated. Applications that require assurance of the currency of all references needed to call ReCalc before calling this method.
This function returns an exception if the formula contains a syntax error. Any other kinds of non-fatal errors are returned as an instance of UltraCalcValue that contains information about the error that has transpired.
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