ConfigurationHelperService.GetUserConfigurationPath(IServiceProvider, Project, ConfigurationUserLevel, Boolean, Configuration) Methode

Definition

Ruft den wahrscheinlichsten Pfad zu den Benutzerkonfigurationsdateien für das aktuelle Projekt ab, auf der Grundlage der Werte von verschiedenen Projekteigenschaften.

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

Parameter

project
Project

Der aktuelle Project.

underHostingProcess
Boolean

true, wenn in einem gehosteten Prozess, andernfalls false.

buildConfiguration
Configuration

EnvDTE.BuildConfiguration.

Gibt zurück

String

Der Benutzerkonfigurationspfad oder null, wenn ein gültiger Pfad nicht aus den Informationen im Projekt erstellt werden konnte.

Gilt für