Share via


IVsEnumTextBuffers.Clone(IVsEnumTextBuffers) Method

Definition

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

Applies to