KeyValueConfigurationCollection コンストラクター

定義

KeyValueConfigurationCollection クラスの新しいインスタンスを初期化します。

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

次のコード例は、 KeyValueConfigurationCollection コンストラクターの使用方法を示しています。 このコード例は、 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()

適用対象