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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.