IEnumConnections.Next(Int32, CONNECTDATA[], IntPtr) Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a specified number of items in the enumeration sequence.
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 -> intPublic Function Next (celt As Integer, rgelt As CONNECTDATA(), pceltFetched As IntPtr) As IntegerParameters
- celt
- Int32
The number of CONNECTDATA structures to return in rgelt.
- rgelt
- CONNECTDATA[]
When this method returns, contains a reference to the enumerated connections. This parameter is passed uninitialized.
- pceltFetched
- 
				
				IntPtr
nativeint 
When this method returns, contains a reference to the actual number of connections enumerated in rgelt.
Returns
S_OK if the pceltFetched parameter equals the celt parameter; otherwise, S_FALSE.
Remarks
For more information, see IEnumConnections::Next method.