EnumerableComCollection<TComEnumerator, TEnumerated>::Clone Method (TComEnumerator, TComEnumerator)

 

Clones the item with the specified enumerator .

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

public:
virtual int Clone(
	TComEnumerator enumerator,
	[OutAttribute] TComEnumerator% clone
) abstract

Parameters

enumerator
Type: TComEnumerator

The enumerator.

clone
Type: TComEnumerator

[out] The cloned item.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: