Condividi tramite


ErrorTask.IVsErrorItem.GetHierarchy Method

Gets the hierarchy node associated with the 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

'Dichiarazione
Private Function GetHierarchy ( _
    <OutAttribute> ByRef ppHier As IVsHierarchy _
) As Integer Implements IVsErrorItem.GetHierarchy
'Utilizzo
Dim instance As ErrorTask
Dim ppHier As IVsHierarchy
Dim returnValue As Integer

returnValue = CType(instance, IVsErrorItem).GetHierarchy(ppHier)
int IVsErrorItem.GetHierarchy(
    out IVsHierarchy ppHier
)
private:
virtual int GetHierarchy(
    [OutAttribute] IVsHierarchy^% ppHier
) sealed = IVsErrorItem::GetHierarchy
private abstract GetHierarchy : 
        ppHier:IVsHierarchy byref -> int 
private override GetHierarchy : 
        ppHier:IVsHierarchy byref -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
S_OK().

Implements

IVsErrorItem.GetHierarchy(IVsHierarchy%)

.NET Framework Security

See Also

Reference

ErrorTask Class

ErrorTask Members

Microsoft.VisualStudio.Shell Namespace