VsShellUtilities::GetCfgProvider Method (IVsHierarchy^)
Visual Studio 2015
Gets the configuration provider object for a given project.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- hierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
The project hierarchy.
This method uses the established (by build manager) algorithm for accessing the configuration provider:
If the project provides a browse object, QI from the browse object.
Otherwise, if the project implements IVsGetCfgProvider, use GetCfgProvider
Otherwise, QI for IVsCfgProvider
Show: