Condividi tramite


IVsEnumNavInfoNodes.Clone Method

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)

Syntax

'Dichiarazione
Function Clone ( _
    <OutAttribute> ByRef ppEnum As IVsEnumNavInfoNodes _
) As Integer
'Utilizzo
Dim instance As IVsEnumNavInfoNodes
Dim ppEnum As IVsEnumNavInfoNodes
Dim returnValue As Integer

returnValue = instance.Clone(ppEnum)
int Clone(
    out IVsEnumNavInfoNodes ppEnum
)
int Clone(
    [OutAttribute] IVsEnumNavInfoNodes^% ppEnum
)
abstract Clone : 
        ppEnum:IVsEnumNavInfoNodes byref -> int 
function Clone(
    ppEnum : IVsEnumNavInfoNodes
) : int

Parameters

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsEnumNavInfoNodes Interface

IVsEnumNavInfoNodes Members

Microsoft.VisualStudio.Shell.Interop Namespace