다음을 통해 공유


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

‘선언
Function Clone ( _
    <OutAttribute> ByRef ppEnum As IVsEnumBSTR _
) As Integer
‘사용 방법
Dim instance As IVsEnumBSTR
Dim ppEnum As IVsEnumBSTR
Dim returnValue As Integer

returnValue = instance.Clone(ppEnum)
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

IVsEnumBSTR Members

Microsoft.VisualStudio.TextManager.Interop Namespace