Partager via


EnumerableComCollection<TComEnumerator,TEnumerated>.Clone Method

Definition

Clones the item with the specified enumerator .

public:
 abstract int Clone(TComEnumerator enumerator, [Runtime::InteropServices::Out] TComEnumerator % clone);
public abstract int Clone (TComEnumerator enumerator, out TComEnumerator clone);
abstract member Clone : 'ComEnumerator * 'ComEnumerator -> int
Public MustOverride Function Clone (enumerator As TComEnumerator, ByRef clone As TComEnumerator) As Integer

Parameters

enumerator
TComEnumerator

The enumerator.

clone
TComEnumerator

[out] The cloned item.

Returns

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

Implements

Applies to