Επεξεργασία

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


UCOMIEnumConnectionPoints.Next(Int32, UCOMIConnectionPoint[], Int32) Method

Definition

Retrieves a specified number of items in the enumeration sequence.

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

Parameters

celt
Int32

The number of IConnectionPoint references to return in rgelt.

rgelt
UCOMIConnectionPoint[]

On successful return, a reference to the enumerated connections.

pceltFetched
Int32

On successful return, 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 about IEnumConnectionPoints::Next, see the MSDN Library.

Applies to