IEnumOnSTLImpl::Clone

STDMETHOD( Clone )( Base** ppEnum );

Return Value

A standard HRESULT value.

Parameters

ppEnum

[out] The enumerator interface on a newly created object cloned from the current enumerator.

Remarks

This method provides the implementation of the IEnumXXXX::Clone method by creating an object of type CComEnumOnSTL, initializing it with the same collection and iterator used by the current object, and returning the interface on the newly created object.

IEnumOnSTLImpl OverviewClass Members

See Also

IEnumOnSTLImpl::Init