ConfigurationSettings.AppSettings Özellik
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.
Dikkat
ConfigurationSettings.AppSettings has been deprecated. Use System.Configuration.ConfigurationManager.AppSettings instead.
Dikkat
This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings
Yapılandırma dosyasından uygulama ayarlarının salt okunur bir koleksiyonunu alır.
public:
static property System::Collections::Specialized::NameValueCollection ^ AppSettings { System::Collections::Specialized::NameValueCollection ^ get(); };
[System.Obsolete("ConfigurationSettings.AppSettings has been deprecated. Use System.Configuration.ConfigurationManager.AppSettings instead.")]
public static System.Collections.Specialized.NameValueCollection AppSettings { get; }
public static System.Collections.Specialized.NameValueCollection AppSettings { get; }
[System.Obsolete("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings")]
public static System.Collections.Specialized.NameValueCollection AppSettings { get; }
[<System.Obsolete("ConfigurationSettings.AppSettings has been deprecated. Use System.Configuration.ConfigurationManager.AppSettings instead.")>]
static member AppSettings : System.Collections.Specialized.NameValueCollection
static member AppSettings : System.Collections.Specialized.NameValueCollection
[<System.Obsolete("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings")>]
static member AppSettings : System.Collections.Specialized.NameValueCollection
Public Shared ReadOnly Property AppSettings As NameValueCollection
Özellik Değeri
Yapılandırma dosyasından uygulama ayarlarının salt okunur koleksiyonu.
- Öznitelikler
Açıklamalar
appSettings Yapılandırma dosyasının bölüm öğesi, uygulamanızın herhangi bir amaçla kullanabileceği bir dizi ad/değer çifti içerir.
Bu yöntem eskidir ve geriye dönük uyumluluk için korunur. Bunun yerine lütfen yöntemini kullanın ConfigurationManager.GetSection(String) .
Note
ConfigurationSettings sınıfı yalnızca geriye dönük uyumluluk sağlar. Bunun yerine sınıfını veya ConfigurationManager sınıfını WebConfigurationManager kullanın.