WatchExpression.Evaluate

Syntax

WatchExpression.Evaluate( seqContext, reserved)

Return Value

PropertyObject

Result of the expression, in the form of PropertyObject. The PropertyObject can contain a value of any type depending on the expression. The returned PropertyObject is the actual object and not a copy.

Purpose

Evaluates the watch expression and returns the result.

Remarks

TestStand evaluates the watch expression within the context of the PropertyObject on which you call this method. This means that the expression can reference the subproperties of the PropertyObject as variables. This method modifies the context if the expression contains operators or method calls that change property values. This method throws an exception if the evaluation of the watch expression fails.

Parameters

seqContext As SequenceContext

[In] Specifies the SequenceContext to use while evaluating the watch expression. This context must be associated with a currently running execution.

reserved As Long

[In] Pass 0 for this parameter.

See Also

Execution

PropertyObject

PropertyObject.EvaluateEx

SequenceContext

WatchExpression.Expression