ICollection(T).Remove Method

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


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

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

bool ICollection<T>.Remove(
	T item


Type: T

The object to remove from the collection.

Return Value

Type: System.Boolean

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

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.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Return to top
© 2015 Microsoft