ServiceModelConfigurationElementCollection<ConfigurationElementType>::Item Property (Object^)
.NET Framework (current version)
Gets or sets a property, attribute, or child element of a ConfigurationElement object with the specified key.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property ConfigurationElementType default[ Object^ key ] { virtual ConfigurationElementType get(Object^ key); virtual void set(Object^ key, ConfigurationElementType value); }
Parameters
- key
-
Type:
System::Object^
The key of the element to be accessed.
Property Value
Type: ConfigurationElementTypeThe item located at the specified key within the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | key is null. |
| KeyNotFoundException | key is not found. |
.NET Framework
Available since 3.0
Available since 3.0
Show: