SynchronizedReadOnlyCollection(Of T).ICollection(Of T).Remove Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Removes the first occurrence of a specific object from the ICollection(Of T).
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Private Function Remove ( _ value As T _ ) As Boolean Implements ICollection(Of T).Remove
Parameters
- value
- Type: T
The value to be removed from the collection.
Return Value
Type: System.BooleanThe method returns false to indicate that the item was not removed from the read-only collection.
Implements
ICollection(Of T).Remove(T)| Exception | Condition |
|---|---|
| NotSupportedException | Items cannot be removed from a read-only collection. |
Show: