KeyValueConfigurationCollection Konstruktor

Definition

Initierar en ny instans av KeyValueConfigurationCollection klassen.

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

Exempel

Följande kodexempel visar hur du använder KeyValueConfigurationCollection konstruktorn. Det här kodexemplet är en del av ett större exempel som tillhandahålls för klassöversikten KeyValueConfigurationCollection .

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

Gäller för