KeyValueConfigurationCollection Construtor
Definição
Inicializa uma nova instância da classe KeyValueConfigurationCollection.Initializes a new instance of the KeyValueConfigurationCollection class.
public:
KeyValueConfigurationCollection();
public KeyValueConfigurationCollection ();
Public Sub New ()
Exemplos
O exemplo de código a seguir demonstra como usar o KeyValueConfigurationCollection Construtor.The following code example demonstrates how to use the KeyValueConfigurationCollection constructor. Este exemplo de código é parte de um exemplo maior fornecido para a KeyValueConfigurationCollection visão geral da classe.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;
' Get the KeyValueConfigurationCollection
' from the configuration.
Dim settings As KeyValueConfigurationCollection = _
config.AppSettings.Settings()