共用方式為


IVsErrorItem2 Interface

Definition

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.

public interface class IVsErrorItem2
public interface class IVsErrorItem2
__interface IVsErrorItem2
[System.Runtime.InteropServices.Guid("96C14EA1-1435-4DA9-8DDD-72DFBC2194E9")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsErrorItem2
[<System.Runtime.InteropServices.Guid("96C14EA1-1435-4DA9-8DDD-72DFBC2194E9")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsErrorItem2 = interface
Public Interface IVsErrorItem2
Attributes

Methods

GetCustomIconIndex(Int32)

Gets the index of the custom icon for the error.

Applies to