IDebugAlias
Applies to: Visual Studio Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
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.
Represents a numeric alias for a variable. An alias is simply a different name for a variable.
Syntax
IDebugAlias : IUnknown
Notes for Implementers
The expression evaluator (EE) implements this interface to support numerical aliases for variables.
Notes for Callers
- CreateAlias creates an alias for a particular object. To search for aliases, use FindAlias or GetAllAliases.
Methods in Vtable Order
The following methods are defined in the IDebugAlias
interface.
Method | Description |
---|---|
GetObject | Gets the object to which this alias refers. |
GetName | Gets the alias name. |
GetICorDebugValue | Retrieves an ICorDebugValue interface that provides access to managed code information about this object (managed code only). |
Dispose | Marks this alias as no longer being used. |
Remarks
An alias is a decimal number in string form followed by the # character, for example, 1001#.
Requirements
Header: ee.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll