ServiceModelConfigurationElementCollection<ConfigurationElementType>.Item[Object] ServiceModelConfigurationElementCollection<ConfigurationElementType>.Item[Object] ServiceModelConfigurationElementCollection<ConfigurationElementType>.Item[Object] ServiceModelConfigurationElementCollection<ConfigurationElementType>.Item[Object] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets or sets a property, attribute, or child element of a ConfigurationElement object with the specified index.

Item[Object] Item[Object] Item[Object] Item[Object]

Gets or sets a property, attribute, or child element of a ConfigurationElement object with the specified key.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets or sets a property, attribute, or child element of a ConfigurationElement object with the specified index.

public:
 property ConfigurationElementType default[int] { ConfigurationElementType get(int index); void set(int index, ConfigurationElementType value); };
public ConfigurationElementType this[int index] { get; set; }
member this.Item(int) : 'ConfigurationElementType with get, set
Default Public Property Item(index As Integer) As ConfigurationElementType

Parameters

index
Int32 Int32 Int32 Int32

The index of the element to be accessed.

Property Value

ConfigurationElementType ConfigurationElementType ConfigurationElementType ConfigurationElementType

The item located at the specified index within the collection.

Exceptions

Item[Object] Item[Object] Item[Object] Item[Object]

Gets or sets a property, attribute, or child element of a ConfigurationElement object with the specified key.

public:
 virtual property ConfigurationElementType default[System::Object ^] { ConfigurationElementType get(System::Object ^ key); void set(System::Object ^ key, ConfigurationElementType value); };
public virtual ConfigurationElementType this[object key] { get; set; }
member this.Item(obj) : 'ConfigurationElementType with get, set
Default Public Overridable Property Item(key As Object) As ConfigurationElementType

Parameters

key
Object Object Object Object

The key of the element to be accessed.

Property Value

ConfigurationElementType ConfigurationElementType ConfigurationElementType ConfigurationElementType

The item located at the specified key within the collection.

Exceptions

Applies to