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.

Namespace:  System.Collections.ObjectModel
Assembly:  mscorlib (in mscorlib.dll)

Syntax

Private Function Remove ( _
    value As T _
) As Boolean Implements ICollection(Of T).Remove
bool ICollection<T>.Remove(
    T value
)

Parameters

Return Value

Type: System..::.Boolean
true if value was successfully removed from the ICollection<(Of <(T>)>); otherwise, false.

Implements

ICollection<(Of <(T>)>)..::.Remove(T)

Exceptions

Exception Condition
NotSupportedException

Always thrown.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

ReadOnlyCollection<(Of <(T>)>) Class

System.Collections.ObjectModel Namespace