IDebugManagedObject

Important

In Visual Studio 2015, this way of implementing expression evaluators is deprecated. For information about implementing CLR expression evaluators, please see CLR Expression Evaluators and Managed Expression Evaluator Sample.

This interface enables the expression evaluator (EE) to call properties or methods on value class instances (for example, System.Decimal) and to set their value without calling Evaluate on the program being debugged.

Syntax

IDebugManagedObject : IDebugObject

Notes for Implementers

An expression evaluator implements this interface to represent a managed code object such as a variable.

Notes for Callers

To obtain this interface, call GetManagedDebugObject on an IDebugObject that represents an instance of a value class.

Methods in Vtable Order

In addition to the methods inherited from IDebugObject, the IDebugManagedObject interface exposes the following methods.

Method Description
GetManagedObject Returns an interface that represents the managed code object and from which any appropriate managed code interface can be obtained.
SetFromManagedObject Sets the value of this object to the value of a specified managed code object.

Remarks

An expression evaluator uses this interface to store a managed code object in a parse tree.

Requirements

Header: ee.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also