
Using The For-Each Syntax On A Private Collection Object
Creating an object that looks and acts like a collection is a good wayto implement a form of inheritance in VB4, where inheritance is not providedby the language. Creating properties for the Count and Item propertiesof your collection is not difficult. Likewise, creating an Add and Removemethod is fairly easy.