Edit

Share via


UCOMIEnumConnections.Next(Int32, CONNECTDATA[], Int32) Method

Definition

Retrieves a specified number of items in the enumeration sequence.

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

Parameters

celt
Int32

The number of CONNECTDATA structures to return in rgelt.

rgelt
CONNECTDATA[]

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 IEnumConnections::Next, see the MSDN Library.

Applies to