ConfigurationHelperService.GetUserConfigurationPath Method
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 most likely path to user configuration files for the current project, based on the values of different project properties.
public:
System::String ^ GetUserConfigurationPath(IServiceProvider ^ provider, EnvDTE::Project ^ project, System::Configuration::ConfigurationUserLevel userLevel, bool underHostingProcess, EnvDTE::Configuration ^ buildConfiguration);
public string GetUserConfigurationPath (IServiceProvider provider, EnvDTE.Project project, System.Configuration.ConfigurationUserLevel userLevel, bool underHostingProcess, EnvDTE.Configuration buildConfiguration);
member this.GetUserConfigurationPath : IServiceProvider * EnvDTE.Project * System.Configuration.ConfigurationUserLevel * bool * EnvDTE.Configuration -> string
Public Function GetUserConfigurationPath (provider As IServiceProvider, project As Project, userLevel As ConfigurationUserLevel, underHostingProcess As Boolean, buildConfiguration As Configuration) As String
- provider
- IServiceProvider
- userLevel
- ConfigurationUserLevel
- underHostingProcess
- Boolean
true
if in a hosted process, otherwise false
.
- buildConfiguration
- Configuration
EnvDTE.BuildConfiguration.
The user configuration path, or null
if a valid path could not be constructed from the information in the project.