[AccessD] OT: VBA.Net collections

Arthur Fuller artful at rogers.com
Thu May 15 17:20:27 CDT 2003


Offhand I see no wholes in your theory.

A.

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby
Sent: May 15, 2003 5:38 PM
To: AccessD
Cc: VBA
Subject: [AccessD] OT: VBA.Net collections


I am looking at implementing some classes that have defined functionality
and properties.  However the class also needs a collection to hold other
items (instances of a specific class.  I read about the idea of subclassing
a collection to define the object that the collection can hold by overriding
the Add method.  Is there any reason not to just go the whole way and make
the collection class my object class.  IOW, add my methods and properties to
a subclassed collection class, naming the new class to MyObject.




More information about the AccessD mailing list