IVsEnumNavInfoNodes::Clone Method (IVsEnumNavInfoNodes^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int Clone(
	[OutAttribute] IVsEnumNavInfoNodes^% ppEnum
)

Parameters

ppEnum
Type: Microsoft.VisualStudio.Shell.Interop::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.

Return Value

Type: System::Int32

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

From vsshell80.idl:

HRESULT IVsEnumNavInfoNodes::Clone(
   [out] IVsEnumNavInfoNodes **ppenum
);
Return to top
Show: