KeyValueConfigurationCollection Konstruktor
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Initialisiert eine neue Instanz der KeyValueConfigurationCollection-Klasse.
public:
KeyValueConfigurationCollection();
public KeyValueConfigurationCollection ();
Public Sub New ()
Beispiele
Im folgenden Codebeispiel wird veranschaulicht, wie der KeyValueConfigurationCollection Konstruktor verwendet wird. Dieses Codebeispiel ist Teil eines größeren Beispiels, das für die KeyValueConfigurationCollection Klassenübersicht bereitgestellt wird.
// Get the KeyValueConfigurationCollection
// from the configuration.
KeyValueConfigurationCollection settings =
config.AppSettings.Settings;
' Get the KeyValueConfigurationCollection
' from the configuration.
Dim settings As KeyValueConfigurationCollection = _
config.AppSettings.Settings()