Condividi tramite


Enumerators and Collections Classes

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Enumerators and Collections Classes (ATL).

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.

ATL Collections and Enumerators

See Also

Class Overview