IDebugFunctionObject
This interface represents a function.
IDebugFunctionObject : IDebugObject
Notes for Implementers
An expression evaluator implements this interface to represent a function.
Notes for Callers
This interface is a specialization of the IDebugObject interface and is obtained using QueryInterface on the IDebugObject interface.
Methods in Vtable Order
In addition to the methods inherited from IDebugObject, the IDebugFunctionObject interface exposes the following methods.
Method |
Description |
---|---|
Creates a primitive data object. |
|
Creates an object using a constructor. |
|
Creates an object with no constructor. |
|
Creates an array object. |
|
Creates a string object. |
|
Calls the function and returns the resulting value as an object. |
Remarks
This interface enables the expression evaluator to represent functions in a parse tree. The Create methods in this interface are used to construct objects representing the input parameters to the method. The function can then be executed by calling the IDebugFunctionObject::Evaluate method, which returns an object representing the return value of the function.
Requirements
Header: ee.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll