DkmMCppILLocalVariableSymbol.Create(String, Boolean, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).
public:
static Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppILLocalVariableSymbol ^ Create(System::String ^ Name, bool IsParameter, int Slot);
public:
static Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppILLocalVariableSymbol ^ Create(Platform::String ^ Name, bool IsParameter, int Slot);
static Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppILLocalVariableSymbol Create(std::wstring const & Name, bool IsParameter, int Slot);
public static Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppILLocalVariableSymbol Create(string Name, bool IsParameter, int Slot);
static member Create : string * bool * int -> Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppILLocalVariableSymbol
Public Shared Function Create (Name As String, IsParameter As Boolean, Slot As Integer) As DkmMCppILLocalVariableSymbol
Parameters
- Name
- String
[In] The name of the variable.
- IsParameter
- Boolean
[In] 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.
- Slot
- Int32
[In] 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).
Returns
[Out] Result of this method call.