Condividi tramite


IVsReportExternalErrors.AddNewErrors(IVsEnumExternalErrors) Method

Definition

Replaces the current list of errors with the specified list.

public:
 int AddNewErrors(Microsoft::VisualStudio::TextManager::Interop::IVsEnumExternalErrors ^ pErrors);
public:
 int AddNewErrors(Microsoft::VisualStudio::TextManager::Interop::IVsEnumExternalErrors ^ pErrors);
int AddNewErrors(Microsoft::VisualStudio::TextManager::Interop::IVsEnumExternalErrors const & pErrors);
public int AddNewErrors (Microsoft.VisualStudio.TextManager.Interop.IVsEnumExternalErrors pErrors);
abstract member AddNewErrors : Microsoft.VisualStudio.TextManager.Interop.IVsEnumExternalErrors -> int
Public Function AddNewErrors (pErrors As IVsEnumExternalErrors) As Integer

Parameters

pErrors
IVsEnumExternalErrors

[in] An IVsEnumExternalErrors object that contains a list of error objects to replace the current error list.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT IVsReportExternalErrors::AddNewErrors(  
   [in]IVsEnumExternalErrors *pErrors  
);  

Applies to