IVsEnumExternalErrors.Clone Method

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

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Déclaration
Function Clone ( _
    <OutAttribute> ByRef ppErrors As IVsEnumExternalErrors _
) As Integer
'Utilisation
Dim instance As IVsEnumExternalErrors
Dim ppErrors As IVsEnumExternalErrors
Dim returnValue As Integer

returnValue = instance.Clone(ppErrors)
int Clone(
    out IVsEnumExternalErrors ppErrors
)
int Clone(
    [OutAttribute] IVsEnumExternalErrors^% ppErrors
)
abstract Clone : 
        ppErrors:IVsEnumExternalErrors byref -> int 
function Clone(
    ppErrors : IVsEnumExternalErrors
) : int

Parameters

Return Value

Type: System.Int32
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.

.NET Framework Security

See Also

Reference

IVsEnumExternalErrors Interface

IVsEnumExternalErrors Members

Microsoft.VisualStudio.TextManager.Interop Namespace