ConfigurationElement.Item[] Özellik
Tanım
Bu nesnenin bir özelliğini, özniteliğini veya alt öğesini alır veya ayarlar ConfigurationElement .Gets or sets a property, attribute, or child element of this ConfigurationElement object.
Aşırı Yüklemeler
Item[ConfigurationProperty] |
Bu yapılandırma öğesinin bir özelliğini veya özniteliğini alır veya ayarlar.Gets or sets a property or attribute of this configuration element. |
Item[String] |
Bu yapılandırma öğesinin bir özelliğini, özniteliğini veya alt öğesini alır veya ayarlar.Gets or sets a property, attribute, or child element of this configuration element. |
Açıklamalar
Bir nesnenin değerlerini almak veya ayarlamak için bu yöntemi kullanın ConfigurationProperty .Use this method to get or set the values of a ConfigurationProperty object.
Item[ConfigurationProperty]
Bu yapılandırma öğesinin bir özelliğini veya özniteliğini alır veya ayarlar.Gets or sets a property or attribute of this configuration element.
protected:
property System::Object ^ default[System::Configuration::ConfigurationProperty ^] { System::Object ^ get(System::Configuration::ConfigurationProperty ^ prop); void set(System::Configuration::ConfigurationProperty ^ prop, System::Object ^ value); };
protected public:
property System::Object ^ default[System::Configuration::ConfigurationProperty ^] { System::Object ^ get(System::Configuration::ConfigurationProperty ^ prop); void set(System::Configuration::ConfigurationProperty ^ prop, System::Object ^ value); };
protected public:
property System::Object ^ default[System::Configuration::ConfigurationProperty ^] { System::Object ^ get(System::Configuration::ConfigurationProperty ^ property); void set(System::Configuration::ConfigurationProperty ^ property, System::Object ^ value); };
protected object this[System.Configuration.ConfigurationProperty prop] { get; set; }
protected internal object this[System.Configuration.ConfigurationProperty prop] { get; set; }
protected internal object this[System.Configuration.ConfigurationProperty property] { get; set; }
member this.Item(System.Configuration.ConfigurationProperty) : obj with get, set
Default Protected Property Item(prop As ConfigurationProperty) As Object
Default Protected Friend Property Item(prop As ConfigurationProperty) As Object
Default Protected Friend Property Item(property As ConfigurationProperty) As Object
Parametreler
- propproperty
- ConfigurationProperty
Erişmek için özelliği.The property to access.
Özellik Değeri
Belirtilen özellik, öznitelik veya alt öğe.The specified property, attribute, or child element.
Özel durumlar
prop
null
öğesi içinde yok ya da yok.prop
is null
or does not exist within the element.
prop
salt okunurdur veya kilitlidir.prop
is read only or locked.
Açıklamalar
Item[]Bir nesnenin değerlerini almak veya ayarlamak için özelliğini kullanın ConfigurationProperty .Use the Item[] property to get or set the values of a ConfigurationProperty object.
C# ' de, bu özellik, sınıfının Dizin oluşturucudır ConfigurationSectionCollection .In C#, this property is the indexer for the ConfigurationSectionCollection class.
Şunlara uygulanır
Item[String]
Bu yapılandırma öğesinin bir özelliğini, özniteliğini veya alt öğesini alır veya ayarlar.Gets or sets a property, attribute, or child element of this configuration element.
protected:
property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ propertyName); void set(System::String ^ propertyName, System::Object ^ value); };
protected public:
property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ propertyName); void set(System::String ^ propertyName, System::Object ^ value); };
protected public:
property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ property_name); void set(System::String ^ property_name, System::Object ^ value); };
protected object this[string propertyName] { get; set; }
protected internal object this[string propertyName] { get; set; }
protected internal object this[string property_name] { get; set; }
member this.Item(string) : obj with get, set
Default Protected Property Item(propertyName As String) As Object
Default Protected Friend Property Item(propertyName As String) As Object
Default Protected Friend Property Item(property_name As String) As Object
Parametreler
- propertyNameproperty_name
- String
ConfigurationPropertyErişim için adı.The name of the ConfigurationProperty to access.
Özellik Değeri
Belirtilen özellik, öznitelik veya alt öğeThe specified property, attribute, or child element
Özel durumlar
prop
salt okunurdur veya kilitlidir.prop
is read-only or locked.
Açıklamalar
Item[]Bir nesnenin değerlerini almak veya ayarlamak için özelliğini kullanın ConfigurationProperty .Use the Item[] property to get or set the values of a ConfigurationProperty object.
C# ' de, bu özellik, sınıfının Dizin oluşturucudır ConfigurationSectionCollection .In C#, this property is the indexer for the ConfigurationSectionCollection class.