Compartilhar via


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

'Declaração
Function AddNewErrors ( _
    pErrors As IVsEnumExternalErrors _
) As Integer
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

Microsoft.VisualStudio.TextManager.Interop Namespace