IEnumConnectionPoints.Next(Int32, IConnectionPoint[], IntPtr) 方法

定义

检索枚举序列中的指定数量的项。

public:
 int Next(int celt, cli::array <System::Runtime::InteropServices::ComTypes::IConnectionPoint ^> ^ rgelt, IntPtr pceltFetched);
public int Next(int celt, System.Runtime.InteropServices.ComTypes.IConnectionPoint[] rgelt, IntPtr pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.ComTypes.IConnectionPoint[] * nativeint -> int
Public Function Next (celt As Integer, rgelt As IConnectionPoint(), pceltFetched As IntPtr) As Integer

参数

celt
Int32

要返回的IConnectionPointrgelt引用数。

rgelt
IConnectionPoint[]

此方法返回时,包含对枚举连接的引用。 此参数未初始化传递。

pceltFetched
IntPtr

nativeint

此方法返回时,包含对枚举的实际 rgelt连接数的引用。

返回

如果参数等于参数,则为 。

注解

有关详细信息,请参阅 IEnumConnectionPoints::Next 方法

适用于