KeyValueConfigurationCollection.Add Method (String, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: