UCOMIEnumConnectionPoints.Next(Int32, UCOMIConnectionPoint[], Int32) 方法

定义

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

public:
 int Next(int celt, cli::array <System::Runtime::InteropServices::UCOMIConnectionPoint ^> ^ rgelt, [Runtime::InteropServices::Out] int % pceltFetched);
public int Next(int celt, System.Runtime.InteropServices.UCOMIConnectionPoint[] rgelt, out int pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.UCOMIConnectionPoint[] * int -> int
Public Function Next (celt As Integer, rgelt As UCOMIConnectionPoint(), ByRef pceltFetched As Integer) As Integer

参数

celt
Int32

要返回的IConnectionPointrgelt引用数。

rgelt
UCOMIConnectionPoint[]

成功返回时,对枚举连接的引用。

pceltFetched
Int32

成功返回时,对枚举的实际 rgelt连接数的引用。

返回

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

注解

有关详细信息 IEnumConnectionPoints::Next,请参阅 MSDN 库。

适用于