IInternalConfigHost.CreateConfigurationContext(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.