KeyValueConfigurationElement Constructor (String^, String^)

 

Initializes a new instance of the KeyValueConfigurationElement class based on the supplied parameters.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
KeyValueConfigurationElement(
	String^ key,
	String^ value
)

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: