ErrorTask.IVsErrorItem.GetHierarchy Method
Gets the hierarchy node associated with the task.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Private Function GetHierarchy ( _
<OutAttribute> ByRef ppHier As IVsHierarchy _
) As Integer Implements IVsErrorItem.GetHierarchy
int IVsErrorItem.GetHierarchy(
out IVsHierarchy ppHier
)
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.