共用方式為


ICorDebugAssembly::GetAppDomain 方法

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

語法

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

參數

ppAppDomain [出]代表應用程式網域之 ICorDebugAppDomain 介面位址的指標。

備註

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

需求

平台: 請參閱 .NET 支援的作業系統

標題: CorDebug.idl、CorDebug.h

圖書館: CorGuids.lib

.NET 版本: 自 .NET Framework 1.0 起提供