I have created a class that I want to manage its instances via a collection (I am using VBA so no Dictionary). I would like an instance to check a collection and add itself to the collection (if it does not exist). I have not found a way to reference the instance while within a method.
This would be like 'this' in C or 'self' in Smalltalk. Does anyone know how I would do this in VB/VBA? I have not found anything in the manuals as yet.
This would be like 'this' in C or 'self' in Smalltalk. Does anyone know how I would do this in VB/VBA? I have not found anything in the manuals as yet.