Share via


IEnumToolboxItems.Clone(IEnumToolboxItems) Method

Definition

Clones this IEnumToolboxItems interface by creating another instance.

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

Parameters

ppenum
IEnumToolboxItems

[out] Reference to the cloned IEnumToolboxItems interface.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IEnumToolboxItems::Clone(  
   [out] IEnumToolboxItems **ppenum  
);  

Applies to