EnumerableComCollection<TComEnumerator,TEnumerated>.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.