IVsErrorItem2 Interface

Implemented by error list items (in addition to IVsTaskItem).Use this interface instead of IVsErrorItem2 when you want to specify your own custom icon in the error list window.

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

Syntax

'Declaration
<GuidAttribute("96C14EA1-1435-4DA9-8DDD-72DFBC2194E9")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsErrorItem2
[GuidAttribute("96C14EA1-1435-4DA9-8DDD-72DFBC2194E9")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsErrorItem2
[GuidAttribute(L"96C14EA1-1435-4DA9-8DDD-72DFBC2194E9")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsErrorItem2
[<GuidAttribute("96C14EA1-1435-4DA9-8DDD-72DFBC2194E9")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsErrorItem2 =  interface end
public interface IVsErrorItem2

The IVsErrorItem2 type exposes the following members.

Methods

  Name Description
Public method GetCustomIconIndex Gets the index of the custom icon for the error.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace