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
- ppHier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy%
[out] Returns the IVsHierarchy interface of the node associated with this task.
Return Value
Type: System.Int32
S_OK().
Implements
IVsErrorItem.GetHierarchy(IVsHierarchy%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.