Share via


IDebugMethodField::GetThis

Gets the this (Me in Visual Basic) pointer of the object containing the method.

HRESULT GetThis( 
   IDebugClassField** ppClass
);
int GetThis(
   out IDebugClassField ppClass
);

Parameters

  • ppClass
    [out] Returns an IDebugClassField object representing the "this" pointer.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

In object-oriented languages, there is typically an implied pointer to the current instantiation of a class. This is known as this in C#/C++ and as Me in Visual Basic.

See Also

Reference

IDebugMethodField

IDebugClassField