Edit

Bagikan melalui


FrozenSet<T>.ISet<T>.IntersectWith(IEnumerable<T>) Method

Definition

Modifies the current set so that it contains only elements that are also in a specified collection.

 virtual void System.Collections.Generic.ISet<T>.IntersectWith(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Generic::ISet<T>::IntersectWith;
void ISet<T>.IntersectWith (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Generic.ISet<T>.IntersectWith : seq<'T> -> unit
override this.System.Collections.Generic.ISet<T>.IntersectWith : seq<'T> -> unit
Sub IntersectWith (other As IEnumerable(Of T)) Implements ISet(Of T).IntersectWith

Parameters

other
IEnumerable<T>

The collection to compare to the current set.

Implements

Applies to