Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides the hierarchy for the item if the error involves a project hierarchy item.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetHierarchy ( _
<OutAttribute> ByRef ppProject As IVsHierarchy _
) As Integer
int GetHierarchy(
out IVsHierarchy ppProject
)
int GetHierarchy(
[OutAttribute] IVsHierarchy^% ppProject
)
abstract GetHierarchy :
ppProject:IVsHierarchy byref -> int
function GetHierarchy(
ppProject : IVsHierarchy
) : int
Parameters
- ppProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy%
[out] Pointer to a IVsHierarchy interface providing hierarchy information about the error.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsErrorItem::GetHierarchy(
[out] IVsHierarchy** ppProject
);
.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.