Share via


ObservableHashSet<T>.IntersectWith(IEnumerable<T>) Method

Definition

Modifies the current hash set to contain only elements that are present in that object and in the specified collection.

public virtual void IntersectWith (System.Collections.Generic.IEnumerable<T> other);
abstract member IntersectWith : seq<'T> -> unit
override this.IntersectWith : seq<'T> -> unit
Public Overridable Sub IntersectWith (other As IEnumerable(Of T))

Parameters

other
IEnumerable<T>

The collection to compare to the current hash set.

Implements

Applies to