Sage Modeling and Simulation Library

SmartPropertyBag..::..AddExpression Method

Adds an expression to this SPB.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public void AddExpression(
	string key,
	string expression,
	string[] argNames
)

Parameters

key
Type: String
The key by which this expression will be known. (e.g. "PackagingRate")
expression
Type: String
The expression. (e.g. "InFlowRate*SelectedPackageSize")
argNames
Type: array<String>[]()[][]
The names of the arguments in the expression (e.g. new string[]{"InFlowRate","SelectedPackageSize"}