Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
Applies to: Visual Studio
Visual Studio for Mac
Note
This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Returns a copy of the current enumeration as a separate object.
HRESULT Clone(
IEnumDebugCodeContexts2** ppEnum
);
int Clone(
out IEnumDebugCodeContexts2 ppEnum
);
ppEnum
[out] Returns a copy of this enumeration as a separate object.
If successful, returns S_OK
; otherwise, returns an error code.
The copy of the enumeration has the same state as the original at the time this method is called. However, the copy's and the original's states are separate and can be changed individually.