ConfigurationElement.Item[String] ConfigurationElement.Item[String] ConfigurationElement.Item[String] ConfigurationElement.Item[String] Property

Definition

Overloads

Item[ConfigurationProperty] Item[ConfigurationProperty] Item[ConfigurationProperty] Item[ConfigurationProperty]

Gets or sets a property or attribute of this configuration element.

Item[String] Item[String] Item[String] Item[String]

Gets or sets a property, attribute, or child element of this configuration element.

Remarks

Use this method to get or set the values of a ConfigurationProperty object.

Item[ConfigurationProperty] Item[ConfigurationProperty] Item[ConfigurationProperty] Item[ConfigurationProperty]

Gets or sets a property or attribute of this configuration element.

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 internal object this[System.Configuration.ConfigurationProperty property] { get; set; }
member this.Item(System.Configuration.ConfigurationProperty) : obj with get, set
Default Protected Friend Property Item(property As ConfigurationProperty) As Object

Parameters

Property Value

The specified property, attribute, or child element.

Exceptions

Remarks

Use the Item[String] property to get or set the values of a ConfigurationProperty object.

In C#, this property is the indexer for the ConfigurationSectionCollection class.

Item[String] Item[String] Item[String] Item[String]

Gets or sets a property, attribute, or child element of this configuration element.

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 internal object this[string property_name] { get; set; }
member this.Item(string) : obj with get, set
Default Protected Friend Property Item(property_name As String) As Object

Parameters

propertyName
String String String String

The name of the ConfigurationProperty to access.

Property Value

The specified property, attribute, or child element

Exceptions

Remarks

Use the Item[String] property to get or set the values of a ConfigurationProperty object.

In C#, this property is the indexer for the ConfigurationSectionCollection class.

Applies to