Compartilhar via


ICorDebugFunction::GetNativeCode Method

Gets the native code for the function that is represented by this ICorDebugFunction instance.

HRESULT GetNativeCode (
    [out] ICorDebugCode **ppCode
);

Parameters

  • ppCode
    [out] A pointer to the ICorDebugCode instance that represents the native code for this function, or null, if this function is Microsoft intermediate language (MSIL) code that has not been just-in-time (JIT) compiled.

Remarks

If the function that is represented by this ICorDebugFunction instance has been JIT-compiled more than once, as in the case of generic types, GetNativeCode returns a random native code object.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugFunction Interface