Partager via


IVsEnumBSTR.Clone(IVsEnumBSTR) Method

Definition

Duplicates a collection of BSTRs.

public:
 int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumBSTR ^ % ppEnum);
public:
 int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumBSTR ^ &  ppEnum);
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumBSTR const & & ppEnum);
public int Clone (out Microsoft.VisualStudio.TextManager.Interop.IVsEnumBSTR ppEnum);
abstract member Clone : IVsEnumBSTR -> int
Public Function Clone (ByRef ppEnum As IVsEnumBSTR) As Integer

Parameters

ppEnum
IVsEnumBSTR

[out] Duplicated IVsEnumBSTR interface.

Returns

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  
);  

Applies to