UCOMIEnumVARIANT.Next(Int32, Int32, Int32) 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, int rgvar, int pceltFetched);public int Next(int celt, int rgvar, int pceltFetched);abstract member Next : int * int * int -> intPublic Function Next (celt As Integer, rgvar As Integer, pceltFetched As Integer) As IntegerParameters
- celt
- Int32
The number of elements to return in rgelt.
- rgvar
- Int32
On successful return, a reference to the enumerated elements.
- pceltFetched
- Int32
On successful return, a reference to the actual number of elements enumerated in rgelt.
Returns
S_OK if the pceltFetched parameter equals the celt parameter; otherwise, S_FALSE.
Remarks
For more information about IEnumVARIANT::Next, see the MSDN Library.