Compartir a través de


IVsReportExternalErrors.AddNewErrors Method

Replaces the current list of errors with the specified list.

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

Syntax

'Declaración
Function AddNewErrors ( _
    pErrors As IVsEnumExternalErrors _
) As Integer
'Uso
Dim instance As IVsReportExternalErrors
Dim pErrors As IVsEnumExternalErrors
Dim returnValue As Integer

returnValue = instance.AddNewErrors(pErrors)
int AddNewErrors(
    IVsEnumExternalErrors pErrors
)
int AddNewErrors(
    [InAttribute] IVsEnumExternalErrors^ pErrors
)
abstract AddNewErrors : 
        pErrors:IVsEnumExternalErrors -> int 
function AddNewErrors(
    pErrors : 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 IVsReportExternalErrors::AddNewErrors(
   [in]IVsEnumExternalErrors *pErrors
);

.NET Framework Security

See Also

Reference

IVsReportExternalErrors Interface

IVsReportExternalErrors Members

Microsoft.VisualStudio.TextManager.Interop Namespace