ConfigurationHelperService::GetUserConfigurationPath Method (IServiceProvider^, Project^, ConfigurationUserLevel, Boolean, Configuration^)

 

Gets the most likely path to user configuration files for the current project, based on the values of different project properties.

Namespace:   Microsoft.VisualStudio.Shell.Design.Serialization
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^

IServiceProvider.

project
Type: EnvDTE::Project^

The current Project.

userLevel
Type: System.Configuration::ConfigurationUserLevel

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.

   

Return to top
Show: