ImmutableHashSet<T>.IImmutableSet<T>.Union 메서드

정의

현재 집합과 지정된 컬렉션 둘 중 하나에만 있는 모든 요소를 포함하는 변경할 수 없는 새 집합을 만듭니다.

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Union(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Immutable::IImmutableSet<T>::Union;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Union (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Immutable.IImmutableSet<T>.Union : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Union : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
Function Union (other As IEnumerable(Of T)) As IImmutableSet(Of T) Implements IImmutableSet(Of T).Union

매개 변수

other
IEnumerable<T>

요소를 추가할 컬렉션입니다.

반환

항목이 추가된 변경할 수 없는 새 집합입니다. 모든 항목이 집합에 이미 있던 경우 원래 집합입니다.

구현

설명

이 멤버는 명시적 인터페이스 멤버 구현이며, ImmutableHashSet<T> 인스턴스가 IImmutableSet<T> 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.

적용 대상