EnumerableHierarchiesCollection.Clone Method
Clones the item with the specified enumerator.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Public Overrides Function Clone ( _
enumerator As IEnumHierarchies, _
<OutAttribute> ByRef clone As IEnumHierarchies _
) As Integer
public override int Clone(
IEnumHierarchies enumerator,
out IEnumHierarchies clone
)
Parameters
- enumerator
Type: Microsoft.VisualStudio.Shell.Interop.IEnumHierarchies
The enumerator.
- clone
Type: Microsoft.VisualStudio.Shell.Interop.IEnumHierarchies%
[out] The cloned item.
Return Value
Type: System.Int32
Implements
IComEnumeratorRelay<TComEnumerator, TEnumerated>.Clone(TComEnumerator, TComEnumerator%)
.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.