ConfigurationElement.Item[] Propiedad

Definición

Obtiene o establece una propiedad, un atributo o un elemento secundario de este ConfigurationElement objeto.

Sobrecargas

Nombre Description
Item[ConfigurationProperty]

Obtiene o establece una propiedad o atributo de este elemento de configuración.

Item[String]

Obtiene o establece una propiedad, un atributo o un elemento secundario de este elemento de configuración.

Comentarios

Use este método para obtener o establecer los valores de un ConfigurationProperty objeto .

Item[ConfigurationProperty]

Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs

Obtiene o establece una propiedad o atributo de este elemento de configuración.

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

Parámetros

prop
ConfigurationProperty

Propiedad a la que se va a acceder.

Valor de propiedad

Propiedad, atributo o elemento secundario especificados.

Excepciones

prop es null o no existe dentro del elemento .

prop es de solo lectura o está bloqueado.

Comentarios

Utilice la Item[] propiedad para obtener o establecer los valores de un ConfigurationProperty objeto .

En C#, esta propiedad es el indexador de la ConfigurationSectionCollection clase .

Se aplica a

Item[String]

Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs
Source:
ConfigurationElement.cs

Obtiene o establece una propiedad, un atributo o un elemento secundario de este elemento de configuración.

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

Parámetros

propertyName
String

Nombre del objeto al que ConfigurationProperty se va a acceder.

Valor de propiedad

Propiedad, atributo o elemento secundario especificados.

Excepciones

propertyName es de solo lectura o está bloqueado.

Comentarios

Utilice la Item[] propiedad para obtener o establecer los valores de un ConfigurationProperty objeto .

En C#, esta propiedad es el indexador de la ConfigurationSectionCollection clase .

Se aplica a