From Xojo Documentation

You are currently browsing the old Xojo documentation site. It will go offline as of October 2, 2023. Please visit the new Xojo documentation site! - you will be redirected shortly...

IEnumVARIANT.Next_(numElements As UInt32, Byref var As Variant, Byref fetched As UInt32) As Boolean

Supported for all project types and targets.

Attempts to get the next "numElement" items in the enumeration sequence, and return them in "var". Returns True if the number of elements returned matches "numElements", or False if the number of elements returned is less than "numElements"