Export (0) Print
Expand All

IEnumConnections.Next Method

Note: This method is new in the .NET Framework version 2.0.

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

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft