Muokkaa

Jaa


IEnumConnectionPoints.Next(Int32, IConnectionPoint[], 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::IConnectionPoint ^> ^ % cp, [Runtime::InteropServices::Out] int % cFetched);
public void Next (int cConnections, out Microsoft.VisualBasic.Compatibility.VB6.IConnectionPoint[] cp, out int cFetched);
abstract member Next : int * IConnectionPoint[] * int -> unit
Public Sub Next (cConnections As Integer, ByRef cp As IConnectionPoint(), ByRef cFetched As Integer)

Parameters

cConnections
Int32

The number of IConnectionPoint references to return in cp.

cp
IConnectionPoint[]

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 cp.

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