IEnumConnectionPoints.Next(Int32, IConnectionPoint[], Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢索列舉序列中指定數量的項目。
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)
參數
- cConnections
- Int32
在 中要回傳IConnectionPoint的參考數量cp。
- cp
- IConnectionPoint[]
當此方法回傳時,包含對列舉連接的參考。 這個參數會未初始化傳遞。
- cFetched
- Int32
當此方法回傳時,包含對實際在中 cp枚舉的連接數量的參考。
備註
Note
命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。