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

 

Removes the specified element from this immutable set.

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

IImmutableSet<T> IImmutableSet<T>.Remove(
	T value
)

Parameters

value
Type: T

The element to remove.

Return Value

Type: System.Collections.Immutable.IImmutableSet<T>

A new set with the specified element removed, or the current set if the element cannot be found in the set.

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

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

Return to top
Show: