IVsEnumBufferCoordinatorSpans.Clone(IVsEnumBufferCoordinatorSpans) 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.
Returns a copy of the current enumeration as a separate object.
public:
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumBufferCoordinatorSpans ^ % ppEnum);
public:
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumBufferCoordinatorSpans ^ & ppEnum);
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumBufferCoordinatorSpans const & & ppEnum);
public int Clone (out Microsoft.VisualStudio.TextManager.Interop.IVsEnumBufferCoordinatorSpans ppEnum);
abstract member Clone : IVsEnumBufferCoordinatorSpans -> int
Public Function Clone (ByRef ppEnum As IVsEnumBufferCoordinatorSpans) As Integer
Parameters
[out] Returns a copy of this enumeration as a separate object.
Returns
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT Clone(
[out] IVsEnumBufferCoordinatorSpans** ppEnum
);
The copy of the enumeration has the same state as the original at the time this method is called. However, the copy's and the original's states are separate and can be changed individually.