Share via


IEnumHierarchyItems.Clone(IEnumHierarchyItems) Method

Definition

Clone an item.

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

Parameters

ppenum
IEnumHierarchyItems

[out] The item to clone.

Returns

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

Remarks

COM Signature

From vsshell.idl:[C++]

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

Applies to