IComEnumeratorRelay<TComEnumerator, TEnumerated>.Clone Method
Clones the enumerator.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Function Clone ( _
enumerator As TComEnumerator, _
<OutAttribute> ByRef newInstance As TComEnumerator _
) As Integer
int Clone(
TComEnumerator enumerator,
out TComEnumerator newInstance
)
Parameters
- enumerator
Type: TComEnumerator
The enumerator.
- newInstance
Type: TComEnumerator%
[out] The cloned enumerator.
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.