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
- ppEnum
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumBSTR%
[out] Duplicated IVsEnumBSTR interface.
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
- 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.