ICorPublishAppDomainEnum::Next 方法
从当前位置开始,获取进程中当前存在的指定数目的应用程序域。
HRESULT Next (
[in] ULONG celt,
[out, size_is(celt), length_is(*pceltFetched)]
ICorPublishAppDomain **objects,
[out] ULONG *pceltFetched
);
参数
celt
[in] 要检索的元素数。objects
[out] 一个指向由检索的 ICorPublishAppDomain 对象组成的数组的指针,其中每个对象都表示一个应用程序域。pceltFetched
[out] 指向实际返回的应用程序域数的指针。 如果 celt 为 1,此值可能为 Null。
要求
**平台:**请参见 .NET Framework 系统要求。
**头文件:**CorPub.idl、CorPub.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