ICorProfilerObjectEnum::Clone Method

Gets an interface pointer to a copy of this ICorProfilerObjectEnum interface.

Syntax

HRESULT Clone (  
    [out] ICorProfilerObjectEnum   **ppEnum);  

Parameters

ppEnum
[out] A pointer to the interface pointer that in turn points to the copy of this ICorProfilerObjectEnum interface. The copy maintains its own enumeration state separately from this one. However, the copy's initial cursor position will be the same as this enumerator's current cursor position.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also