共用方式為


IVsEnumLibraries2.Clone Method

Creates another enumerator that contains the same enumeration state as the current one.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Function Clone ( _
    <OutAttribute> ByRef ppEnum As IVsEnumLibraries2 _
) As Integer
'用途
Dim instance As IVsEnumLibraries2
Dim ppEnum As IVsEnumLibraries2
Dim returnValue As Integer

returnValue = instance.Clone(ppEnum)
int Clone(
    out IVsEnumLibraries2 ppEnum
)
int Clone(
    [OutAttribute] IVsEnumLibraries2^% ppEnum
)
abstract Clone : 
        ppEnum:IVsEnumLibraries2 byref -> int 
function Clone(
    ppEnum : IVsEnumLibraries2
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsEnumLibraries2::Clone(
   [out] IVsEnumLibraries2 **ppenum
);

.NET Framework Security

See Also

Reference

IVsEnumLibraries2 Interface

IVsEnumLibraries2 Members

Microsoft.VisualStudio.Shell.Interop Namespace