DkmInspectionContext.GetClrNameForLocalVariable 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.
Get the language-specific name for an identifier from metadata.
Location constraint: API must be called from a Monitor component (component level < 100,000).
This API was introduced in Visual Studio 16 Update 10 (DkmApiVersion.VS16Update10).
public string GetClrNameForLocalVariable(Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId MethodId, Microsoft.VisualStudio.Debugger.Clr.DkmILRange ILRange, Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalVariable LocalVariable);
member this.GetClrNameForLocalVariable : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * Microsoft.VisualStudio.Debugger.Clr.DkmILRange * Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalVariable -> string
Public Function GetClrNameForLocalVariable (ModuleInstance As DkmClrModuleInstance, MethodId As DkmClrMethodId, ILRange As DkmILRange, LocalVariable As DkmClrLocalVariable) As String
Parameters
- ModuleInstance
- DkmClrModuleInstance
[In] The module instance containing the local.
- MethodId
- DkmClrMethodId
[In] The method token and version.
- ILRange
- DkmILRange
[In] The IL range containing the local.
- LocalVariable
- DkmClrLocalVariable
[In] The local variable.
Returns
[Out] The identifier in the form valid in the given language.