ImmutableHashSet<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 collection.

Implements

Remarks

이 멤버는 명시적인 인터페이스 멤버 구현입니다.This member is an explicit interface member implementation. ImmutableHashSet<T> 인스턴스가 ISet<T> 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.It can be used only when the ImmutableHashSet<T> instance is cast to an ISet<T> interface.

Applies to