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
在 中要回傳IConnectionPoint的參考數量rgelt。
- rgelt
- UCOMIConnectionPoint[]
成功返回時,會提及列舉的連結。
- pceltFetched
- Int32
成功返回時,會參考實際列舉的 rgelt連接數。
傳回
S_OK若參數pceltFetched等於參數;celt否則,。 S_FALSE
備註
欲了解更多資訊 IEnumConnectionPoints::Next,請參閱MSDN圖書館。