KeyValueConfigurationCollection Constructor
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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()