Share via


IVsEnumBSTR.Clone Method

Duplicates a collection of BSTRs.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function Clone ( _
    <OutAttribute> ByRef ppEnum As IVsEnumBSTR _
) As Integer
int Clone(
    out IVsEnumBSTR ppEnum
)
int Clone(
    [OutAttribute] IVsEnumBSTR^% ppEnum
)
abstract Clone : 
        ppEnum:IVsEnumBSTR byref -> int
function Clone(
    ppEnum : IVsEnumBSTR
) : 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 textmgr.idl:

[C++]

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

.NET Framework Security

See Also

Reference

IVsEnumBSTR Interface

Microsoft.VisualStudio.TextManager.Interop Namespace