Επεξεργασία

Κοινή χρήση μέσω


ImmutableSortedSet<T>.ICollection<T>.Remove(T) Method

Definition

Removes the first occurrence of a specific object from the collection.

 virtual bool System.Collections.Generic.ICollection<T>.Remove(T item) = System::Collections::Generic::ICollection<T>::Remove;
bool ICollection<T>.Remove (T item);
abstract member System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
override this.System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
Function Remove (item As T) As Boolean Implements ICollection(Of T).Remove

Parameters

item
T

The object to remove from the collection.

Returns

true if item was successfully removed from the collection; otherwise, false.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableSortedSet<T> instance is cast to an ICollection<T> interface.

System.Collections.Immutable NuGet package

About immutable collections and how to install

Applies to