Partager via


IVsErrorItem Interface

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.

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

Syntax

'Declaration
<GuidAttribute("CE3DF110-7630-4D6C-81D5-5CFA12ADDAE6")> _
<InterfaceTypeAttribute()> _
Public Interface IVsErrorItem
[GuidAttribute("CE3DF110-7630-4D6C-81D5-5CFA12ADDAE6")]
[InterfaceTypeAttribute()]
public interface IVsErrorItem
[GuidAttribute(L"CE3DF110-7630-4D6C-81D5-5CFA12ADDAE6")]
[InterfaceTypeAttribute()]
public interface class IVsErrorItem
[<GuidAttribute("CE3DF110-7630-4D6C-81D5-5CFA12ADDAE6")>]
[<InterfaceTypeAttribute()>]
type IVsErrorItem =  interface end
public interface IVsErrorItem

The IVsErrorItem type exposes the following members.

Methods

  Name Description
Public method GetCategory Returns the category of the error.
Public method GetHierarchy Provides the hierarchy for the item if the error involves a project hierarchy item.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace