IVsEnumBSTR.Clone(IVsEnumBSTR) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);