ProtocolElementCollection::Item Property (Object^)
.NET Framework (current version)
Gets or sets the ProtocolElement that has the specified key in the collection.
Assembly: System.Web.Services (in System.Web.Services.dll)
public: property ProtocolElement^ default[ Object^ key ] { ProtocolElement^ get(Object^ key); void set(Object^ key, ProtocolElement^ value); }
Parameters
- key
-
Type:
System::Object^
The key of the ProtocolElement to get or set in the collection.
Property Value
Type: System.Web.Services.Configuration::ProtocolElement^The ProtocolElement with the specified key.
| Exception | Condition |
|---|---|
| KeyNotFoundException | The ProtocolElement with the specified key was not found in the collection. |
.NET Framework
Available since 2.0
Available since 2.0
Show: