KeyValueConfigurationCollection Constructor

Definitie

Initialiseert een nieuw exemplaar van de KeyValueConfigurationCollection klasse.

public:
 KeyValueConfigurationCollection();
public KeyValueConfigurationCollection();
Public Sub New ()

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de KeyValueConfigurationCollection constructor gebruikt. Dit codevoorbeeld maakt deel uit van een groter voorbeeld voor het KeyValueConfigurationCollection klasseoverzicht.

// Get the KeyValueConfigurationCollection 
// from the configuration.
KeyValueConfigurationCollection settings = 
  config.AppSettings.Settings;
' Get the KeyValueConfigurationCollection 
' from the configuration.
Dim settings As KeyValueConfigurationCollection = _
config.AppSettings.Settings()

Van toepassing op