Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​Runtime.​InteropServices.​ComTypes.​IEnumMoniker
Assembly: System.Runtime.InteropServices
Manages the definition of the <see langword="IEnumMoniker" /> interface.
Methods
public
int
Next​(int celt,
IMoniker[] rgelt,
nint pceltFetched)
celt
The number of monikers to return in <paramref name="rgelt" /> .
rgelt
When this method returns, contains a reference to the enumerated monikers. This parameter is passed uninitialized.
pceltFetched
When this method returns, contains a reference to the actual number of monikers enumerated in <paramref name="rgelt" /> .
Returns <see langword="S_OK" /> if the <paramref name="pceltFetched" /> parameter equals the <paramref name="celt" /> parameter; otherwise, <see langword="S_FALSE" /> .
Retrieves a specified number of items in the enumeration sequence.
public
void
Reset​()
Resets the enumeration sequence to the beginning.
public
int
Skip​(int celt)
celt
The number of elements to skip in the enumeration.
Returns <see langword="S_OK" /> if the number of elements skipped equals the <paramref name="celt" /> parameter; otherwise, <see langword="S_FALSE" /> .
Skips a specified number of items in the enumeration sequence.