ICorDebugFunction::GetILCode 方法

取得 ICorDebugCode 實例,代表與這個 ICorDebugFunction 對象相關聯的通用中繼語言 (CIL) 程式代碼。

語法

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

參數

ppCode [out]如果函式未編譯為 CIL,則為 實例的 ICorDebugCode 指標或 null。

備註

如果此函式上允許Edit和Continue,方法 GetILCode 會取得 CIL 程式代碼,其會對應至 Common Language Runtime (CLR) 中已編輯的程式代碼版本。

需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework 版本: 自 1.0 起提供