This documentation is archived and is not being maintained.

UCOMIEnumConnections.Next Method

Retrieves a specified number of items in the enumeration sequence.

[Visual Basic]
Function Next( _
   ByVal celt As Integer, _
   <Out()> ByVal rgelt() As CONNECTDATA, _
   <Out()> ByRef pceltFetched As Integer _
) As Integer
[C#]
int Next(
   int celt,
   [
   Out
] CONNECTDATA[] rgelt,
   out int pceltFetched
);
[C++]
int Next(
   int celt,
   [
   Out
] CONNECTDATA* rgelt[],
   [
   Out
] int* pceltFetched
);
[JScript]
function Next(
   celt : int,
 rgelt : CONNECTDATA[],
 pceltFetched : int
) : int;

Parameters

celt
The number of CONNECTDATA structures to return in rgelt.
rgelt
On successful return, a reference to the enumerated connections.
pceltFetched
On successful return, a reference to the actual number of connections enumerated in rgelt.

Return Value

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

Remarks

For more information about IEnumConnections::Next, see the MSDN Library.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

UCOMIEnumConnections Interface | UCOMIEnumConnections Members | System.Runtime.InteropServices Namespace

Show: