IEnumComponents.Clone(IEnumComponents) Method

Definition

Clones the current enumeration component.

public:
 int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComponents ^ % ppIEnumComponents);
public:
 int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComponents ^ &  ppIEnumComponents);
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumComponents const & & ppIEnumComponents);
public int Clone (out Microsoft.VisualStudio.Shell.Interop.IEnumComponents ppIEnumComponents);
abstract member Clone : IEnumComponents -> int
Public Function Clone (ByRef ppIEnumComponents As IEnumComponents) As Integer

Parameters

ppIEnumComponents
IEnumComponents

[out] Returns the cloned IEnumComponents interface.

Returns

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

Remarks

COM Signature

From compsvcspkg.idl:

HRESULT IEnumComponents::Clone(  
   [out] IEnumComponents **ppIEnumComponents  
);  

Applies to