Freigeben über


IDkmRuntimeHandleComparer.CompareHandleValuesThroughVil Method

Definition

This method takes two ICorDebugHandleValues, calls GetValue on each, and compares the resulting values to see if they are equal. If necessary, it will set up a LocalContext for the VIL interpreter.

public:
 bool CompareHandleValuesThroughVil(Microsoft::VisualStudio::Debugger::Clr::DkmClrRuntimeInstance ^ clrRuntimeInstance, Microsoft::VisualStudio::CorDebugInterop::ICorDebugHandleValue ^ handleValue1, Microsoft::VisualStudio::CorDebugInterop::ICorDebugHandleValue ^ handleValue2);
public bool CompareHandleValuesThroughVil (Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance clrRuntimeInstance, Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue handleValue1, Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue handleValue2);
abstract member CompareHandleValuesThroughVil : Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance * Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue * Microsoft.VisualStudio.CorDebugInterop.ICorDebugHandleValue -> bool
Public Function CompareHandleValuesThroughVil (clrRuntimeInstance As DkmClrRuntimeInstance, handleValue1 As ICorDebugHandleValue, handleValue2 As ICorDebugHandleValue) As Boolean

Parameters

clrRuntimeInstance
DkmClrRuntimeInstance

[In] Represents a CLR instance running in a target process.

handleValue1
ICorDebugHandleValue

[In] The first ICorDebugHandleValue object.

handleValue2
ICorDebugHandleValue

[In] The second ICorDebugHandleValue object.

Returns

[Out] Set to true if the two given ICorDebugHandleValue objects have the same value, false otherwise.

Applies to