共用方式為


ICorDebugAppDomainEnum::Next 方法

從集合中取得指定的應用程式定義域數目 (從目前的游標位置開始)。

HRESULT Next (
    [in] ULONG celt,
    [out, size_is(celt), length_is(*pceltFetched)]
                           ICorDebugAppDomain *values[],
    [out] ULONG *pceltFetched
);

參數

  • celt
    [in] 要擷取的應用程式定義域個數。

  • values
    [out] 指標的陣列,每個指標各指向一個表示應用程式定義域的 ICorDebugAppDomain 物件。

  • pceltFetched
    [out] 實際傳回的應用程式定義域數目指標。 如果 celt 為一,則此值可能為 null。

需求

**平台:**請參閱 .NET Framework 系統需求

**標頭:**CorDebug.idl、CorDebug.h

**程式庫:**CorGuids.lib

**.NET Framework 版本:**4、3.5 SP1、3.5、3.0 SP1、3.0、2.0 SP1、2.0、1.1、1.0

請參閱

參考

ICorDebugAppDomainEnum 介面