Partilhar via


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

IDebugFunctionObject::CreatePrimitiveObject

Creates a primitive data object.

IDebugFunctionObject::CreateObject

Creates an object using a constructor.

IDebugFunctionObject::CreateObjectNoConstructor

Creates an object with no constructor.

IDebugFunctionObject::CreateArrayObject

Creates an array object.

IDebugFunctionObject::CreateStringObject

Creates a string object.

IDebugFunctionObject::Evaluate

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

See Also

Reference

IDebugObject

Concepts

Expression Evaluation Interfaces