Partager via


IVsEnumNavInfoNodes.Clone(IVsEnumNavInfoNodes) Method

Definition

Creates another enumerator that contains the same enumeration state as the current one.

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

Parameters

ppEnum
IVsEnumNavInfoNodes

[out] The IVsEnumNavInfoNodes that represents a new cloned enumerator set to the same state as the current enumerator.If the method is unsuccessful, the value of ppEnum is undefined.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

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

Applies to