VsEnumerableEx<TComEnumerator, TComEnumerated>.Clone Method

Creates a copy of the enumerator and all its descendants. The returned enumerator contains the same enumeration state as the current one.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Sub Clone ( _
    <OutAttribute> ByRef ppEnum As TComEnumerator _
)
public void Clone(
    out TComEnumerator ppEnum
)
public:
void Clone(
    [OutAttribute] TComEnumerator% ppEnum
)
member Clone : 
        ppEnum:'TComEnumerator byref -> unit
public function Clone(
    ppEnum : TComEnumerator
)

Parameters

  • ppEnum
    Type: TComEnumerator%

    Address of a pointer to the copied enumerator.

.NET Framework Security

See Also

Reference

VsEnumerableEx<TComEnumerator, TComEnumerated> Class

Microsoft.VisualStudio.Shell Namespace