EnumDependencies.Clone Method

Copies this enumerator to another one that has the same state as the original.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Function Clone ( _
    <OutAttribute> ByRef enumDependencies As IVsEnumDependencies _
) As Integer
'使用
Dim instance As EnumDependencies
Dim enumDependencies As IVsEnumDependencies
Dim returnValue As Integer

returnValue = instance.Clone(enumDependencies)
public int Clone(
    out IVsEnumDependencies enumDependencies
)
public:
virtual int Clone(
    [OutAttribute] IVsEnumDependencies^% enumDependencies
) sealed
public final function Clone(
    enumDependencies : IVsEnumDependencies
) : int

Parameters

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsEnumDependencies.Clone(IVsEnumDependencies%)

Remarks

This method is an implementation of Clone. It instantiates a new instance of EnumDependencies and sets its index to the index of the original.

Permissions

See Also

Reference

EnumDependencies Class

EnumDependencies Members

Microsoft.VisualStudio.Package Namespace