UCOMIEnumConnectionPoints.Next(Int32, UCOMIConnectionPoint[], Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取列舉型別序列中指定的項目數目。
public:
int Next(int celt, cli::array <System::Runtime::InteropServices::UCOMIConnectionPoint ^> ^ rgelt, [Runtime::InteropServices::Out] int % pceltFetched);
public int Next(int celt, System.Runtime.InteropServices.UCOMIConnectionPoint[] rgelt, out int pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.UCOMIConnectionPoint[] * int -> int
Public Function Next (celt As Integer, rgelt As UCOMIConnectionPoint(), ByRef pceltFetched As Integer) As Integer
參數
- celt
- Int32
要在 rgelt 中傳回的 IConnectionPoint 參考的數目。
- rgelt
- UCOMIConnectionPoint[]
在成功傳回時,為所列舉連接的參考。
- pceltFetched
- Int32
在成功傳回時,為 rgelt 中所列舉連接的實際目數的參考。
傳回
如果 pceltFetched 參數等於 celt 參數,則為 S_OK,否則為 S_FALSE。
備註
如需 的詳細資訊 IEnumConnectionPoints::Next,請參閱 MSDN 連結庫。