Spread for ASP.NET 11 Product Documentation
UpdateFormulasWhenModelChanged Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > IObjectExpressionSupport Interface : UpdateFormulasWhenModelChanged Method
The old data model
The new data model
Updates all formulas of all the IExpressionConsumer object when changing the data model of a sheet in Spread.
Syntax
'Declaration
 
Sub UpdateFormulasWhenModelChanged( _
   ByVal newModel As ISheetDataModel, _
   ByVal oldModel As ISheetDataModel _
) 
'Usage
 
Dim instance As IObjectExpressionSupport
Dim newModel As ISheetDataModel
Dim oldModel As ISheetDataModel
 
instance.UpdateFormulasWhenModelChanged(newModel, oldModel)
void UpdateFormulasWhenModelChanged( 
   ISheetDataModel newModel,
   ISheetDataModel oldModel
)

Parameters

newModel
The old data model
oldModel
The new data model
Remarks
This method is intended to be used when it is necessary to update the formula at the specified index of the IExpressionConsumer. This API supports the Spread infrastructure and is not intended to be used directly from your code
See Also

Reference

IObjectExpressionSupport Interface
IObjectExpressionSupport Members