Edit

Share via


IInternalConfigHost.CreateConfigurationContext(String, String) Method

Definition

Creates and returns a context object for a ConfigurationElement of an application configuration.

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

Parameters

configPath
String

A string representing the path of the application configuration file.

locationSubPath
String

A string representing a subpath location of the configuration element.

Returns

A context object for a ConfigurationElement object of an application configuration.

Applies to