Delen via


IComEnumeratorRelay<TComEnumerator, TEnumerated>.Clone Method

Clones the enumerator.

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

Syntax

'Declaration
Function Clone ( _
    enumerator As TComEnumerator, _
    <OutAttribute> ByRef newInstance As TComEnumerator _
) As Integer
int Clone(
    TComEnumerator enumerator,
    out TComEnumerator newInstance
)
int Clone(
    TComEnumerator enumerator, 
    [OutAttribute] TComEnumerator% newInstance
)
abstract Clone : 
        enumerator:'TComEnumerator * 
        newInstance:'TComEnumerator byref -> int
function Clone(
    enumerator : TComEnumerator, 
    newInstance : TComEnumerator
) : int

Parameters

Return Value

Type: Int32

.NET Framework Security

See Also

Reference

IComEnumeratorRelay<TComEnumerator, TEnumerated> Interface

Microsoft.VisualStudio.Shell Namespace