EnumerableHierarchiesCollection.Clone Method
Clones the item with the specified enumerator.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Overrides Function Clone ( _
enumerator As IEnumHierarchies, _
<OutAttribute> ByRef clone As IEnumHierarchies _
) As Integer
public override int Clone(
IEnumHierarchies enumerator,
out IEnumHierarchies clone
)
public:
virtual int Clone(
IEnumHierarchies^ enumerator,
[OutAttribute] IEnumHierarchies^% clone
) override
abstract Clone :
enumerator:IEnumHierarchies *
clone:IEnumHierarchies byref -> int
override Clone :
enumerator:IEnumHierarchies *
clone:IEnumHierarchies byref -> int
public override function Clone(
enumerator : IEnumHierarchies,
clone : IEnumHierarchies
) : int
Parameters
enumerator
Type: Microsoft.VisualStudio.Shell.Interop.IEnumHierarchiesThe enumerator.
clone
Type: Microsoft.VisualStudio.Shell.Interop.IEnumHierarchies%[out] The cloned item.
Return Value
Type: 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.