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

 

Retrieves a specified number of items in the enumeration sequence.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

int Next(
	int celt,
	CONNECTDATA[] rgelt,
	out int pceltFetched
)

Parameters

celt
Type: System.Int32

The number of CONNECTDATA structures to return in rgelt.

rgelt
Type: System.Runtime.InteropServices.CONNECTDATA[]

On successful return, a reference to the enumerated connections.

pceltFetched
Type: System.Int32

On successful return, a reference to the actual number of connections enumerated in rgelt.

Return Value

Type: System.Int32

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

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

.NET Framework
Available since 1.1
Return to top
Show: