Share via


DkmInspectionContext.GetClrNameForField(DkmClrModuleInstance, Int32) Method

Definition

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 GetClrNameForField (Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance ModuleInstance, int FieldToken);
member this.GetClrNameForField : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * int -> string
Public Function GetClrNameForField (ModuleInstance As DkmClrModuleInstance, FieldToken As Integer) As String

Parameters

ModuleInstance
DkmClrModuleInstance

[In] The module instance containing the field.

FieldToken
Int32

[In] Token of the field in metadata.

Returns

[Out] The identifier in the form valid in the given language.

Applies to