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

Definition

Retrieves a specified number of items in the enumeration sequence.

public:
 void Next(int cConnections, [Runtime::InteropServices::Out] cli::array <Microsoft::VisualBasic::Compatibility::VB6::CONNECTDATA> ^ % cd, [Runtime::InteropServices::Out] int % cFetched);
public void Next (int cConnections, out Microsoft.VisualBasic.Compatibility.VB6.CONNECTDATA[] cd, out int cFetched);
abstract member Next : int * CONNECTDATA[] * int -> unit
Public Sub Next (cConnections As Integer, ByRef cd As CONNECTDATA(), ByRef cFetched As Integer)

Parameters

cConnections
Int32

The number of CONNECTDATA structures to return in cd.

cd
CONNECTDATA[]

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

cFetched
Int32

When this method returns, contains a reference to the actual number of connections enumerated in cd.

Remarks

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to