Use Iterators in VB Now: Figure 1: Create the Interfaces of an Iterator

VB doesn't come with iterators out-of-the-box, as the next version of C# will, but it's possible to create your own, and what you can create is more versatile than the plain-vanilla iterators you'll be able to create with the next version of C#. These are the interfaces and the members you must implement to create your own iterator.