IVsContainedLanguageHost::GetVSHierarchy Method (IVsHierarchy^)
Visual Studio 2015
Returns the hierarchy that contains the file displayed in the primary buffer.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- ppVsHierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[out] Returns an IVsHierarchy object representing the hierarchy that owns the file displayed in the primary buffer.
From singlefileeditor.idl:
HRESULT GetVSHierarchy( [out] IVsHierarchy** ppVsHierarchy );
This method is called by the contained language to support a call to the GetHierarchy method in the IVsErrorItem interface since the secondary buffer that the contained language uses is not part of a hierarchy.
Show: