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>

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

예외

othernull입니다.

설명

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

적용 대상