IVsEnumTextBuffers.Clone(IVsEnumTextBuffers) 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 an enumeration of text buffers.
public:
int Clone(Microsoft::VisualStudio::TextManager::Interop::IVsEnumTextBuffers ^ % ppEnum);
public:
int Clone(Microsoft::VisualStudio::TextManager::Interop::IVsEnumTextBuffers ^ & ppEnum);
int Clone(Microsoft::VisualStudio::TextManager::Interop::IVsEnumTextBuffers const & & ppEnum);
public int Clone (ref Microsoft.VisualStudio.TextManager.Interop.IVsEnumTextBuffers ppEnum);
abstract member Clone : IVsEnumTextBuffers -> int
Public Function Clone (ByRef ppEnum As IVsEnumTextBuffers) As Integer
Parameters
- ppEnum
- IVsEnumTextBuffers
[out] Duplicated IVsEnumTextBuffers 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 IVsEnumTextBuffers::Clone(IVsEnumTextBuffers **ppenum);