IVsErrorItem 接口

提供有关错误项目的信息。信息包括该错误属于以及的层次结构是错误、警告或消息。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop.8.0(在 Microsoft.VisualStudio.Shell.Interop.8.0.dll 中)

语法

声明
<GuidAttribute("CE3DF110-7630-4D6C-81D5-5CFA12ADDAE6")> _
<InterfaceTypeAttribute()> _
Public Interface IVsErrorItem
[GuidAttribute("CE3DF110-7630-4D6C-81D5-5CFA12ADDAE6")]
[InterfaceTypeAttribute()]
public interface IVsErrorItem

IVsErrorItem 类型公开以下成员。

方法

  名称 说明
公共方法 GetCategory 返回错误的类别。
公共方法 GetHierarchy ,如果错误包含一个项目层次结构项目,为项提供该层次结构。

页首

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间