KeyValueConfigurationCollection Oluşturucu
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
KeyValueConfigurationCollection sınıfının yeni bir örneğini başlatır.
public:
KeyValueConfigurationCollection();
public KeyValueConfigurationCollection ();
Public Sub New ()
Örnekler
Aşağıdaki kod örneği oluşturucunun KeyValueConfigurationCollection nasıl kullanılacağını gösterir. Bu kod örneği, sınıfa genel bakış için KeyValueConfigurationCollection sağlanan daha büyük bir örneğin parçasıdır.
// Get the KeyValueConfigurationCollection
// from the configuration.
KeyValueConfigurationCollection settings =
config.AppSettings.Settings;
' Get the KeyValueConfigurationCollection
' from the configuration.
Dim settings As KeyValueConfigurationCollection = _
config.AppSettings.Settings()