DkmMCppILLocalVariableSymbol Class

Definition

Represents a C++/CLI local variable or function parameter backed by an IL slot, which can be inspected by a ldloc or ldarg instruction. The types of IL local variables are not represented in the PDB, and are not provided through this API. Instead, consumers of DkmMCppILLocalVariableSymbol objects should obtain the type information through inspection of the managed metadata.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

public ref class DkmMCppILLocalVariableSymbol : Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppLocalVariableSymbol
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmMCppILLocalVariableSymbol : Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppLocalVariableSymbol
[Windows::Foundation::Metadata::WebHostHidden]
class DkmMCppILLocalVariableSymbol : Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppLocalVariableSymbol
[System.Runtime.InteropServices.Guid("6171d8a9-356f-ca4f-41f2-142f2a5c0c7f")]
public class DkmMCppILLocalVariableSymbol : Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppLocalVariableSymbol
[<System.Runtime.InteropServices.Guid("6171d8a9-356f-ca4f-41f2-142f2a5c0c7f")>]
type DkmMCppILLocalVariableSymbol = class
    inherit DkmMCppLocalVariableSymbol
Public Class DkmMCppILLocalVariableSymbol
Inherits DkmMCppLocalVariableSymbol
Inheritance
DkmMCppILLocalVariableSymbol
Attributes

Properties

IsParameter

True if this variable is a function parameter; false if this variable is a local variable. In some cases, such as global functions or member functions of native classes, this API will provide parameter names from the PDB that are not available through inspection of just the metadata.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

Name

The name of the variable.

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

(Inherited from DkmMCppLocalVariableSymbol)
Slot

The local slot used by the IL in stloc/ldloc instructions to access the variable (or starg/ldarg instructions if this variable is a function parameter).

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

TagValue

DkmMCppLocalVariableSymbol is an abstract base class. This enum indicates which derived class this object is an instance of.

(Inherited from DkmMCppLocalVariableSymbol)

Methods

Create(String, Boolean, Int32)

Create a new DkmMCppILLocalVariableSymbol object instance.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 Update 1 (DkmApiVersion.VS14Update1).

Applies to