다음을 통해 공유


IEnumOnSTLImpl::Clone

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.

STDMETHOD(Clone)(
   Base** ppEnum 
);

Parameters

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

Return Value

A standard HRESULT value.

Requirements

Header: atlcom.h

See Also

Concepts

IEnumOnSTLImpl Class

IEnumOnSTLImpl Members

IEnumOnSTLImpl::Init