Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
KeyValueConfigurationCollection Constructor

KeyValueConfigurationCollection Constructor

Initializes a new instance of the KeyValueConfigurationCollection class.

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

public KeyValueConfigurationCollection()

The following code example demonstrates how to use the KeyValueConfigurationCollection constructor. This code example is part of a larger example provided for the KeyValueConfigurationCollection class overview.

// Get the KeyValueConfigurationCollection  
// from the configuration.
KeyValueConfigurationCollection settings = 
  config.AppSettings.Settings;

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft