SharedProjectUtilities.GetActiveProjectContext(IVsHierarchy) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the active project context.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ GetActiveProjectContext(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ GetActiveProjectContext(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ hierarchy);
public static Microsoft.VisualStudio.Shell.Interop.IVsHierarchy GetActiveProjectContext (this Microsoft.VisualStudio.Shell.Interop.IVsHierarchy hierarchy);
static member GetActiveProjectContext : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
<Extension()>
Public Function GetActiveProjectContext (hierarchy As IVsHierarchy) As IVsHierarchy
Parameters
- hierarchy
- IVsHierarchy
The Shared Project hierarchy.
Returns
The active project hierarchy.