Szerkesztés

Megosztás a következőn keresztül:


IDebugVsaScriptCodeItem.Evaluate Method

Definition

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.

Applies to