KeyValueConfigurationCollection::Add Method (String^, String^)

 

Adds a KeyValueConfigurationElement object to the collection based on the supplied parameters.

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

public:
void Add(
	String^ key,
	String^ value
)

Parameters

key
Type: System::String^

A string specifying the key.

value
Type: System::String^

A string specifying the value.

.NET Framework
Available since 2.0
Return to top
Show: