ICorDebugProcessEnum::Next 方法

从当前位置开始,获取枚举中指定数目的 ICorDebugProcess 实例。

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

参数

  • celt
    [in] 要检索的 ICorDebugProcess 实例的数量。

  • processess
    [out] 一个由指针组成的数组,其中的每个指针都指向一个表示进程的 ICorDebugProcess 对象。

  • pceltFetched
    [out] 指向实际返回的 ICorDebugProcess 实例数的指针。 如果 celt 为 1,此值可能为 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

请参见

参考

ICorDebugProcessEnum 接口