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()

適用対象