ConfigurationElement.Item[] Eigenschaft

Definition

Dient zum Abrufen oder Festlegen einer Eigenschaft, eines Attributs oder eines untergeordneten Elements dieses ConfigurationElement Objekts.

Überlädt

Name Beschreibung
Item[ConfigurationProperty]

Dient zum Abrufen oder Festlegen einer Eigenschaft oder eines Attributs dieses Konfigurationselements.

Item[String]

Dient zum Abrufen oder Festlegen einer Eigenschaft, eines Attributs oder eines untergeordneten Elements dieses Konfigurationselements.

Hinweise

Verwenden Sie diese Methode, um die Werte eines ConfigurationProperty Objekts abzurufen oder festzulegen.

Item[ConfigurationProperty]

Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs

Dient zum Abrufen oder Festlegen einer Eigenschaft oder eines Attributs dieses Konfigurationselements.

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

Parameter

prop
ConfigurationProperty

Die Eigenschaft, auf die zugegriffen werden soll.

Eigenschaftswert

Die angegebene Eigenschaft, das Attribut oder das untergeordnete Element.

Ausnahmen

prop innerhalb des Elements vorhanden ist null oder nicht vorhanden ist.

prop ist schreibgeschützt oder gesperrt.

Hinweise

Verwenden Sie die Item[] Eigenschaft, um die Werte eines ConfigurationProperty Objekts abzurufen oder festzulegen.

In C# ist diese Eigenschaft der Indexer für die ConfigurationSectionCollection Klasse.

Gilt für:

Item[String]

Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs
Quelle:
ConfigurationElement.cs

Dient zum Abrufen oder Festlegen einer Eigenschaft, eines Attributs oder eines untergeordneten Elements dieses Konfigurationselements.

protected public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ propertyName); void set(System::String ^ propertyName, System::Object ^ value); };
protected:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ propertyName); void set(System::String ^ propertyName, System::Object ^ value); };
protected internal object this[string propertyName] { get; set; }
protected object this[string propertyName] { get; set; }
member this.Item(string) : obj with get, set
Default Protected Friend Property Item(propertyName As String) As Object
Default Protected Property Item(propertyName As String) As Object

Parameter

propertyName
String

Der Name des ConfigurationProperty Zugriffs.

Eigenschaftswert

Die angegebene Eigenschaft, das Attribut oder das untergeordnete Element.

Ausnahmen

propertyName ist schreibgeschützt oder gesperrt.

Hinweise

Verwenden Sie die Item[] Eigenschaft, um die Werte eines ConfigurationProperty Objekts abzurufen oder festzulegen.

In C# ist diese Eigenschaft der Indexer für die ConfigurationSectionCollection Klasse.

Gilt für: