Click or drag to resize

EvaluatorSetVariable Method (String, Object, Type)

Sets the value of a variable referenced within the expression prior to evaluation. This override allows specifying the Type of the variable instead of trying to introspect it. Also allows for passing null as the value.

Namespace:  Data.Eval
Assembly:  Data_Eval (in Data_Eval.dll) Version: 2.5.0
Syntax
C#
public void SetVariable(
	string name,
	Object value,
	Type type
)

Parameters

name
Type: SystemString
Name of the variable referenced within the expression.
value
Type: SystemObject
Value of the variable that should be used when evaluating the expression.
type
Type: SystemType
The variable Type.
See Also