Partager via


IVsErrorList.ForceShowErrors Method

Forces errors to appear in the list. Leaves warnings and informational messages alone.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function ForceShowErrors As Integer
int ForceShowErrors()
int ForceShowErrors()
abstract ForceShowErrors : unit -> int
function ForceShowErrors() : int

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsErrorList::ForceShowErrors();

.NET Framework Security

See Also

Reference

IVsErrorList Interface

Microsoft.VisualStudio.Shell.Interop Namespace