VsEnumerable<TComEnumerator, TComEnumerated, TEnumerated>::Clone Method (TComEnumerator)

 

Creates a copy of the enumerator and all its descendants. The returned enumerator contains the same enumeration state as the current one.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
virtual int Clone(
	[OutAttribute] TComEnumerator% ppEnum
) sealed

Parameters

ppEnum
Type: TComEnumerator

Address of a pointer to the copied enumerator.

Return Value

Type: System::Int32

S_OK if successful, or an error otherwise.

Return to top
Show: