Редагувати

Поділитися через


ImmutableHashSet<T>.Remove(T) Method

Definition

Removes the specified element from this immutable hash set.

public:
 System::Collections::Immutable::ImmutableHashSet<T> ^ Remove(T item);
public System.Collections.Immutable.ImmutableHashSet<T> Remove (T item);
member this.Remove : 'T -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Remove (item As T) As ImmutableHashSet(Of T)

Parameters

item
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