共用方式為


ICorDebugAssembly::GetAppDomain 方法

取得包含這個 ICorDebugAssembly 實例之應用程式域的介面指標。

語法

HRESULT GetAppDomain (
    [out] ICorDebugAppDomain  **ppAppDomain
);

參數

ppAppDomain [out]代表應用程式域之 ICorDebugAppDomain 介面地址的指標。

備註

如果這個元件是系統元件, GetAppDomain 則傳回 null。

需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework 版本: 自 1.0 起提供