Edit

Share via


UCOMIEnumVARIANT.Next(Int32, Int32, Int32) Method

Definition

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 -> int
Public Function Next (celt As Integer, rgvar As Integer, pceltFetched As Integer) As Integer

Parameters

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.

Applies to