SharedProjectUtilities::SetActiveProjectContext Method (IVsHierarchy^, IVsHierarchy^)

Visual Studio 2015
 

Sets the active project context.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
[ExtensionAttribute]
static int SetActiveProjectContext(
	IVsHierarchy^ hierarchy,
	IVsHierarchy^ activeProjectContext
)

Parameters

hierarchy
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

The Shared Assets Project hierarchy.

activeProjectContext
Type: Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^

The active sub project hierarchy. This can be null to clear the active project context.

Return Value

Type: System::Int32

The HRESULT.

Return to top
Show: