KeyValueConfigurationElement Constructor (String^, String^)
.NET Framework (current version)
Initializes a new instance of the KeyValueConfigurationElement class based on the supplied parameters.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- key
-
Type:
System::String^
The key of the KeyValueConfigurationElement.
- value
-
Type:
System::String^
The value of the KeyValueConfigurationElement.
The following code example demonstrates how to use the KeyValueConfigurationElement constructor. This code example is part of a larger example provided for the KeyValueConfigurationCollection class overview.
.NET Framework
Available since 2.0
Available since 2.0
Show: