Rediger

Del via


IEnumConnections.Next(Int32, CONNECTDATA[], IntPtr) Method

Definition

Retrieves a specified number of items in the enumeration sequence.

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

Parameters

celt
Int32

The number of CONNECTDATA structures to return in rgelt.

rgelt
CONNECTDATA[]

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 IEnumConnections::Next method.

Applies to