IInternalConfigHost.CreateConfigurationContext(String, String) Metod

Definition

Skapar och returnerar ett kontextobjekt för en ConfigurationElement programkonfiguration.

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

Parametrar

configPath
String

En sträng som representerar sökvägen till programkonfigurationsfilen.

locationSubPath
String

En sträng som representerar en undersökvägsplats för konfigurationselementet.

Returer

Ett kontextobjekt för ett ConfigurationElement objekt i en programkonfiguration.

Gäller för