Język

ConfigurationElement.Item[] Właściwość

Definicja

Pobiera lub ustawia właściwość, atrybut lub element podrzędny tego ConfigurationElement obiektu.

Przeciążenia

Nazwa Opis
Item[ConfigurationProperty]

Pobiera lub ustawia właściwość lub atrybut tego elementu konfiguracji.

Item[String]

Pobiera lub ustawia właściwość, atrybut lub element podrzędny tego elementu konfiguracji.

Uwagi

Użyj tej metody, aby pobrać lub ustawić wartości ConfigurationProperty obiektu.

Item[ConfigurationProperty]

Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs

Pobiera lub ustawia właściwość lub atrybut tego elementu konfiguracji.

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

Parametry

prop
ConfigurationProperty

Właściwość do uzyskania dostępu.

Wartość właściwości

Określona właściwość, atrybut lub element podrzędny.

Wyjątki

prop element jest null lub nie istnieje w elemecie .

prop jest tylko do odczytu lub zablokowany.

Uwagi

Item[] Użyj właściwości , aby pobrać lub ustawić wartości ConfigurationProperty obiektu.

W języku C#ta właściwość jest indeksatorem ConfigurationSectionCollection klasy .

Dotyczy

Item[String]

Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs
Źródło:
ConfigurationElement.cs

Pobiera lub ustawia właściwość, atrybut lub element podrzędny tego elementu konfiguracji.

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

Parametry

propertyName
String

Nazwa obiektu ConfigurationProperty , do których chcesz uzyskać dostęp.

Wartość właściwości

Określona właściwość, atrybut lub element podrzędny.

Wyjątki

propertyName jest tylko do odczytu lub jest zablokowany.

Uwagi

Item[] Użyj właściwości , aby pobrać lub ustawić wartości ConfigurationProperty obiektu.

W języku C#ta właściwość jest indeksatorem ConfigurationSectionCollection klasy .

Dotyczy