ConfigurationHelperService::GetUserConfigurationPath Method (IServiceProvider^, Project^, ConfigurationUserLevel, Boolean, Configuration^)
Visual Studio 2015
Gets the most likely path to user configuration files for the current project, based on the values of different project properties.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
public: String^ GetUserConfigurationPath( IServiceProvider^ provider, Project^ project, ConfigurationUserLevel userLevel, bool underHostingProcess, Configuration^ buildConfiguration )
Parameters
- provider
- Type: System::IServiceProvider^
- project
-
Type:
EnvDTE::Project^
The current Project.
- userLevel
- Type: System.Configuration::ConfigurationUserLevel
- underHostingProcess
-
Type:
System::Boolean
true if in a hosted process, otherwise false.
- buildConfiguration
-
Type:
EnvDTE::Configuration^
T:EnvDTE.BuildConfiguration.
Return Value
Type: System::String^The user configuration path, or null if a valid path could not be constructed from the information in the project.
Show: