ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>::Remove Method (TServiceModelExtensionElement)
.NET Framework (current version)
Removes the specified element from the collection. This method cannot be inherited.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- element
-
Type:
TServiceModelExtensionElement
The element to be removed from the collection.
Return Value
Type: System::Booleantrue if the element is successfully found and removed; otherwise, false. This method returns false if the element is not found in the collection.
Implements
ICollection<T>::Remove(T)| Exception | Condition |
|---|---|
| ArgumentNullException | element is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: