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