ICorDebugModuleEnum::Next 方法

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

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

参数

  • celt
    [in] 要检索的 ICorDebugModule 实例数目。

  • modules
    [out] 一个由指针组成的数组,其中每个指针都指向一个 ICorDebugModule 对象。

  • pceltFetched
    [out] 指向实际返回的 ICorDebugModule 实例数目的指针。 如果 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

请参见

参考

ICorDebugModuleEnum 接口