ISet<T>.UnionWith(IEnumerable<T>) 메서드

정의

현재 집합과 지정된 컬렉션 둘 다에 있는 모든 요소를 포함하도록 현재 집합을 수정합니다.

public:
 void UnionWith(System::Collections::Generic::IEnumerable<T> ^ other);
public void UnionWith (System.Collections.Generic.IEnumerable<T> other);
abstract member UnionWith : seq<'T> -> unit
Public Sub UnionWith (other As IEnumerable(Of T))

매개 변수

other
IEnumerable<T>

현재 집합과 비교할 컬렉션입니다.

예외

other이(가) null인 경우

설명

other 모든 중복 요소는 무시됩니다.

적용 대상