Partager via


SharedProjectUtilities.GetActiveProjectContext(IVsHierarchy) Method

Definition

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.

Applies to