Freigeben über


IVsErrorItem.GetHierarchy(IVsHierarchy) Method

Definition

Provides the hierarchy for the item if the error involves a project hierarchy item.

public:
 int GetHierarchy([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ % ppProject);
public:
 int GetHierarchy([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ &  ppProject);
int GetHierarchy([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & & ppProject);
public int GetHierarchy (out Microsoft.VisualStudio.Shell.Interop.IVsHierarchy ppProject);
abstract member GetHierarchy : IVsHierarchy -> int
Public Function GetHierarchy (ByRef ppProject As IVsHierarchy) As Integer

Parameters

ppProject
IVsHierarchy

[out] Pointer to a IVsHierarchy interface providing hierarchy information about the error.

Returns

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  
);  

Applies to