Spread for ASP.NET 7.0 Product Documentation
UpdateFormulasWhenModelChanged Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > IObjectExpressionSupport Interface : UpdateFormulasWhenModelChanged Method


newModel
The old data model
oldModel
The new data model

Glossary Item Box

Updates all formulas of all the IExpressionConsumer object when changing the data model of a sheet in Spread.

Syntax

Visual Basic (Declaration) 
Sub UpdateFormulasWhenModelChanged( _
   ByVal newModel As ISheetDataModel, _
   ByVal oldModel As ISheetDataModel _
) 
Visual Basic (Usage)Copy Code
Dim instance As IObjectExpressionSupport
Dim newModel As ISheetDataModel
Dim oldModel As ISheetDataModel
 
instance.UpdateFormulasWhenModelChanged(newModel, oldModel)
C# 
void UpdateFormulasWhenModelChanged( 
   ISheetDataModel newModel,
   ISheetDataModel oldModel
)

Parameters

newModel
The old data model
oldModel
The new data model

Remarks

This method is intented 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

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.