DkmClrLocalVariable.Create 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 DkmClrLocalVariable object instance.
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrLocalVariable ^ Create(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ Module, System::String ^ Name, System::UInt32 Attributes, int Slot, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ AdditionalData);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalVariable Create (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, string Name, uint Attributes, int Slot, System.Collections.ObjectModel.ReadOnlyCollection<byte> AdditionalData);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalVariable Create (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, string Name, uint Attributes, int Slot, System.Collections.ObjectModel.ReadOnlyCollection<byte>? AdditionalData);
static member Create : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * string * uint32 * int * System.Collections.ObjectModel.ReadOnlyCollection<byte> -> Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalVariable
Public Shared Function Create (Module As DkmModule, Name As String, Attributes As UInteger, Slot As Integer, AdditionalData As ReadOnlyCollection(Of Byte)) As DkmClrLocalVariable
Parameters
- Module
- DkmModule
[In] Module where this local variable is defined.
- Name
- String
[In] Name of the local variable.
- Attributes
- UInt32
[In] Variable attributes defined in CorSymVarFlag. Currently, the only defined bit is VAR_IS_COMP_GEN (0x1).
- Slot
- Int32
[In] The local slot used by the IL in stloc/ldloc instructions.
- AdditionalData
- ReadOnlyCollection<Byte>
[In,Optional] Additional data used by the symbol provider to identify the local variable. Meaning is implementation specific.
Returns
[Out] Result of this method call.