The following classes provide support for COM collections and enumerations:
- CComEnum Defines a COM enumerator object based on an array. 
- CComEnumImpl Provides the implementation for a COM enumerator interface where the items being enumerated are stored in an array. 
- CComEnumOnSTL Defines a COM enumerator object based on an STL collection. 
- IEnumOnSTLImpl Provides the implementation for a COM enumerator interface where the items being enumerated are stored in an STL-compatible container. 
- ICollectionOnSTLImpl Provides the implementation for the Count, Item, and _NewEnum properties of a collection interface. 
Related Articles
ATL Collections and Enumerators