Partager via


ErrorTask.HierarchyItem Property

Gets or sets the hierarchy item associated with this task.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Déclaration
Public Property HierarchyItem As IVsHierarchy
    Get
    Set
'Utilisation
Dim instance As ErrorTask
Dim value As IVsHierarchy

value = instance.HierarchyItem

instance.HierarchyItem = value
public IVsHierarchy HierarchyItem { get; set; }
public:
property IVsHierarchy^ HierarchyItem {
    IVsHierarchy^ get ();
    void set (IVsHierarchy^ value);
}
member HierarchyItem : IVsHierarchy with get, set
function get HierarchyItem () : IVsHierarchy
function set HierarchyItem (value : IVsHierarchy)

Property Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The IVsHierarchy item associated with the task.

.NET Framework Security

See Also

Reference

ErrorTask Class

ErrorTask Members

Microsoft.VisualStudio.Shell Namespace