IEnumHierarchyItems.Clone(IEnumHierarchyItems) 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.
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
);