Sdílet prostřednictvím


IInternalConfigHost.CreateConfigurationContext(String, String) Metoda

Definice

Vytvoří a vrátí objekt kontextu pro ConfigurationElement objekt konfigurace aplikace.

public:
 System::Object ^ CreateConfigurationContext(System::String ^ configPath, System::String ^ locationSubPath);
public object CreateConfigurationContext (string configPath, string locationSubPath);
abstract member CreateConfigurationContext : string * string -> obj
Public Function CreateConfigurationContext (configPath As String, locationSubPath As String) As Object

Parametry

configPath
String

Řetězec představující cestu k konfiguračnímu souboru aplikace.

locationSubPath
String

Řetězec představující umístění dílčí cesty elementu konfigurace.

Návraty

Kontextový objekt pro ConfigurationElement objekt konfigurace aplikace.

Platí pro