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
Available since 2.0
Return to top
Show: