IVsEnumExternalErrors.Clone(IVsEnumExternalErrors) Method

Definition

Returns a copy of the current enumeration as a separate object.

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

Parameters

ppErrors
IVsEnumExternalErrors

[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] IVsEnumExternalErrors **ppErrors  
);  

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.

Applies to