IVsReportExternalErrors.GetErrors Method
Retrieves a copy of the list of errors.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
Function GetErrors ( _
<OutAttribute> ByRef pErrors As IVsEnumExternalErrors _
) As Integer
int GetErrors(
out IVsEnumExternalErrors pErrors
)
int GetErrors(
[OutAttribute] IVsEnumExternalErrors^% pErrors
)
abstract GetErrors :
pErrors:IVsEnumExternalErrors byref -> int
function GetErrors(
pErrors : IVsEnumExternalErrors
) : int
Parameters
- pErrors
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumExternalErrors%
[out] Returns an IVsEnumExternalErrors object that contains a list of all errors that have been accumulated in the IVsReportExternalErrors object.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT IVsReportExternalErrors::GetErrors(
[out] IVsEnumExternalErrors **pErrors
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.