ICorDebugLoadedModule 介面ICorDebugLoadedModule Interface

提供載入模組的相關資訊。Provides information about a loaded module.

方法Methods

方法Method 描述Description
GetBaseAddress 方法GetBaseAddress Method 取得載入模組的基底位址。Gets the base address of the loaded module.
GetName 方法GetName Method 取得載入模組的名稱。Gets the name of the loaded module.
GetSize 方法GetSize Method 取得載入模組的大小 (以位元組為單位)。Gets the size in bytes of the loaded module.

備註Remarks

ICorDebugLoadedModule 介面是由偵錯工具實作,並由 CLR 偵錯介面用以從偵錯工具取得載入模組的相關資訊。The ICorDebugLoadedModule interface is implemented by a debugger and is used by the CLR debugging interfaces to get information about the loaded module from the debugger.

注意

這個介面僅適用於 .NET 原生。This interface is available with .NET Native only. 如果您在 .NET 原生之外針對 ICorDebug 案例實作這個介面,Common Language Runtime 會忽略這個介面。If you implement this interface for ICorDebug scenarios outside of .NET Native, the common language runtime will ignore this interface.

規格需求Requirements

平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 4.6 開始提供,僅限 .NET NativeAvailable since 4.6, .NET Native only.NET Framework Versions: 自 4.6 開始提供,僅限 .NET NativeAvailable since 4.6, .NET Native only

另請參閱See also