Edit

Share via


IImmutableSet<T>.Remove(T) Method

Definition

Removes the specified element from this immutable set.

public:
 System::Collections::Immutable::IImmutableSet<T> ^ Remove(T value);
public System.Collections.Immutable.IImmutableSet<T> Remove (T value);
abstract member Remove : 'T -> System.Collections.Immutable.IImmutableSet<'T>
Public Function Remove (value As T) As IImmutableSet(Of T)

Parameters

value
T

The element to remove.

Returns

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

Applies to