共用方式為


IVsReportExternalErrors.GetErrors(IVsEnumExternalErrors) Method

Definition

Retrieves a copy of the list of errors.

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

Parameters

pErrors
IVsEnumExternalErrors

[out] Returns an IVsEnumExternalErrors object that contains a list of all errors that have been accumulated in the IVsReportExternalErrors object.

Returns

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

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT IVsReportExternalErrors::GetErrors(  
   [out] IVsEnumExternalErrors **pErrors  
);  

Applies to