Επεξεργασία

Κοινή χρήση μέσω


IEnumConnectionPoints.Next(Int32, IConnectionPoint[], IntPtr) Method

Definition

Retrieves a specified number of items in the enumeration sequence.

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

Parameters

celt
Int32

The number of IConnectionPoint references to return in rgelt.

rgelt
IConnectionPoint[]

When this method returns, contains a reference to the enumerated connections. This parameter is passed uninitialized.

pceltFetched
IntPtr

nativeint

When this method returns, contains a reference to the actual number of connections enumerated in rgelt.

Returns

S_OK if the pceltFetched parameter equals the celt parameter; otherwise, S_FALSE.

Remarks

For more information, see IEnumConnectionPoints::Next method.

Applies to