UCOMIEnumMoniker.Next(Int32, UCOMIMoniker[], 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, cli::array <System::Runtime::InteropServices::UCOMIMoniker ^> ^ rgelt, [Runtime::InteropServices::Out] int % pceltFetched);
public int Next (int celt, System.Runtime.InteropServices.UCOMIMoniker[] rgelt, out int pceltFetched);
abstract member Next : int * System.Runtime.InteropServices.UCOMIMoniker[] * int -> int
Public Function Next (celt As Integer, rgelt As UCOMIMoniker(), ByRef pceltFetched As Integer) As Integer
Parameters
- celt
- Int32
The number of monikers to return in rgelt
.
- rgelt
- UCOMIMoniker[]
On successful return, a reference to the enumerated monikers.
- pceltFetched
- Int32
On successful return, a reference to the actual number of monikers enumerated in rgelt
.
Returns
S_OK
if the pceltFetched
parameter equals the celt
parameter; otherwise, S_FALSE
.
Remarks
For more information about IEnumMoniker::Next
, see the MSDN Library.