IDkmClrFullNameProvider2.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.
public string GetClrNameForLocalVariable (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext inspectionContext, Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance moduleInstance, Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId methodId, Microsoft.VisualStudio.Debugger.Clr.DkmILRange iLRange, Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalVariable localVariable);
abstract member GetClrNameForLocalVariable : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionContext * Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId * Microsoft.VisualStudio.Debugger.Clr.DkmILRange * Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalVariable -> string
Public Function GetClrNameForLocalVariable (inspectionContext As DkmInspectionContext, moduleInstance As DkmClrModuleInstance, methodId As DkmClrMethodId, iLRange As DkmILRange, localVariable As DkmClrLocalVariable) As String
Parameters
- inspectionContext
- DkmInspectionContext
[In] Options and target context to use while performing the inspection operation.
- 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.