IEnumConnectionPoints.Next(Int32, IConnectionPoint[], IntPtr) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢索列舉序列中指定數量的項目。
public:
int Next(int celt, cli::array <System::Runtime::InteropServices::ComTypes::IConnectionPoint ^> ^ rgelt, IntPtr pceltFetched);
public int Next(int celt, System.Runtime.InteropServices.ComTypes.IConnectionPoint[] rgelt, IntPtr pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.ComTypes.IConnectionPoint[] * nativeint -> int
Public Function Next (celt As Integer, rgelt As IConnectionPoint(), pceltFetched As IntPtr) As Integer
參數
- celt
- Int32
在 中要回傳IConnectionPoint的參考數量rgelt。
- rgelt
- IConnectionPoint[]
當此方法回傳時,包含對列舉連接的參考。 這個參數會未初始化傳遞。
- pceltFetched
-
IntPtr
nativeint
當此方法回傳時,包含對實際在中 rgelt枚舉的連接數量的參考。
傳回
S_OK若參數pceltFetched等於參數;celt否則,。 S_FALSE
備註
更多資訊請參閱 IEnumConnectionPoints::Next 方法。