SynchronizedReadOnlyCollection<T>::ICollection<T>::Remove Method (T)

 

Returns false and throws a NotSupportedException if called.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

private:
virtual bool Remove(
	T value
) sealed = ICollection<T>::Remove

Parameters

value
Type: T

The value to be removed from the collection.

Return Value

Type: System::Boolean

False.

The method returns false to indicate that the item was not removed from the read-only collection.

Exception Condition
NotSupportedException

Items cannot be removed from a read-only collection.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: