ICollectionOnSTLImpl::get__NewEnum

STDMETHOD( get__NewEnum )( IUnknown** ppUnk );

Return Value

A standard HRESULT value.

Parameters

ppUnk

[out] The IUnknown pointer of a newly created enumerator object.

Remarks

The newly created enumerator maintains an iterator on the original collection, m_coll, (so no copy is made) and holds a COM reference on the collection object to ensure that the collection remains alive while there are outstanding enumerators.

ICollectionOnSTLImpl OverviewClass Members