Compartir a través de


IEnumPackages.Clone(IEnumPackages) Method

Definition

Clones this IEnumPackages interface by creating another instance.

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

Parameters

ppenum
IEnumPackages

[out] Reference to the cloned IEnumPackages 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 IEnumPackages::Clone(  
   [out] IEnumPackages **ppenum  
);  

Applies to