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
'Declaration
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
- pErrors
Type: Microsoft.VisualStudio.TextManager.Interop.IVsEnumExternalErrors
[in] An IVsEnumExternalErrors object that contains a list of error objects to replace the current error list.
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
- 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.