ServiceModelConfigurationElementCollection<ConfigurationElementType>::ContainsKey Method (Object^)
.NET Framework (current version)
Returns a boolean value that indicates whether this collection contains a configuration element with the specified key.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- key
-
Type:
System::Object^
The configuration element to search for in the collection.
Return Value
Type: System::Booleantrue if the collection contains a configuration element with the specified key; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | key is null or empty. |
.NET Framework
Available since 3.0
Available since 3.0
Show: