EvaluateEx Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

PropertyObject.EvaluateEx ( exprString, evaluationOptions)

Return Value

PropertyObject

The result of the expression, in the form of a PropertyObject. The PropertyObject can contain a value of any type depending on the expression. If the expression is empty and you pass the EvalOption_AllowEmptyExpression constant, this method returns a NULL dispatch pointer or object reference.

Purpose

Evaluates an expression and returns the result.

Remarks

TestStand evaluates the expression within the context of the object on which you call this method. This means the expression can reference the subproperties of the object as variables.

Parameters

exprString As String

[In] Specifies a standard TestStand expression.

evaluationOptions As Long

[In] Pass 0 to specify the default behavior, or pass one or more EvaluationOptions constants. Use the bitwise-OR operator to specify multiple options.


See Also

Adding and Releasing References

Engine.CheckExpression

Engine.CheckExprSyntax

EvaluationOptions

PropertyObject

Thread Safety of the PropertyObject API and TestStand Variables

WAS THIS ARTICLE HELPFUL?

Not Helpful