ReadOnlyCollection(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). This implementation always throws NotSupportedException.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Private Function Remove ( _ value As T _ ) As Boolean Implements ICollection(Of T).Remove
Parameters
- value
- Type: T
The object to remove from the ICollection(Of T).
Return Value
Type: System.Booleantrue if value was successfully removed from the ICollection(Of T); otherwise, false.
Implements
ICollection(Of T).Remove(T)| Exception | Condition |
|---|---|
| NotSupportedException | Always thrown. |
Show: