共用方式為


IVsErrorItem Interface

Definition

Provides information about an error item. The information includes the hierarchy the error belongs to as well as whether it is an error, a warning, or a message.

public interface class IVsErrorItem
public interface class IVsErrorItem
__interface IVsErrorItem
[System.Runtime.InteropServices.Guid("CE3DF110-7630-4D6C-81D5-5CFA12ADDAE6")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsErrorItem
[<System.Runtime.InteropServices.Guid("CE3DF110-7630-4D6C-81D5-5CFA12ADDAE6")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsErrorItem = interface
Public Interface IVsErrorItem
Derived
Attributes

Methods

GetCategory(UInt32)

Returns the category of the error.

GetHierarchy(IVsHierarchy)

Provides the hierarchy for the item if the error involves a project hierarchy item.

Applies to