IEnumConnections.Next Method

Retrieves a specified number of items in the enumeration sequence.

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

int Next (
	int celt,
	[OutAttribute] CONNECTDATA[] rgelt,
	IntPtr pceltFetched
)
int Next (
	int celt, 
	/** @attribute OutAttribute() */ CONNECTDATA[] rgelt, 
	IntPtr pceltFetched
)
function Next (
	celt : int, 
	rgelt : CONNECTDATA[], 
	pceltFetched : IntPtr
) : int
Not applicable.

Parameters

celt

The number of CONNECTDATA structures to return in rgelt.

rgelt

When this method returns, contains a reference to the enumerated connections. This parameter is passed uninitialized.

pceltFetched

When this method returns, contains 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.

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

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show: