IDebugVsaScriptCodeItem.Evaluate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a class, evaluates the block, expression, or statement represented by the code item and returns the value. It is typically called by a debugger that needs to evaluate an expression (in a Watch window, for example). For expressions, the value is the result of the expression. For blocks and statements, the resulting expression is the last expression calculated by the block or statement.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::Object ^ Evaluate();
public object Evaluate ();
abstract member Evaluate : unit -> obj
Public Function Evaluate () As Object
Returns
A value that represents the evaluation of the statement, expression, or block.
Remarks
Note that the Evaluate method is functionally identical to the Execute method. Only the marshaling attributes differ. This version of the interface allows an unmanaged debugger to obtain the return value as an IUnknown
pointer rather than a VARIANT
.