ImmutableHashSet<T>.IImmutableSet<T>.Add(T) 메서드

정의

지정한 요소를 이 변경할 수 없는 집합에 추가합니다.

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Add(T item) = System::Collections::Immutable::IImmutableSet<T>::Add;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Add (T item);
abstract member System.Collections.Immutable.IImmutableSet<T>.Add : 'T -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Add : 'T -> System.Collections.Immutable.IImmutableSet<'T>
Function Add (item As T) As IImmutableSet(Of T) Implements IImmutableSet(Of T).Add

매개 변수

item
T

추가할 요소입니다.

반환

IImmutableSet<T>

요소가 추가된 새 집합입니다. 해당 요소가 집합에 이미 있는 경우 이 집합입니다.

구현

설명

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

적용 대상