Freigeben über


IEnumHierarchies.Clone(IEnumHierarchies) Method

Definition

Clones this IEnumHierarchies interface by creating another instance.

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

Parameters

ppenum
IEnumHierarchies

[out] Reference to the cloned IEnumHierarchies interface.

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 IEnumHierarchies::Clone(  
   [out] IEnumHierarchies **ppenum  
);  

Applies to