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

정의

현재 집합에 요소를 추가하고 요소가 성공적으로 추가되었는지 여부를 나타내는 값을 반환합니다.

 virtual bool System.Collections.Generic.ISet<T>.Add(T item) = System::Collections::Generic::ISet<T>::Add;
bool ISet<T>.Add (T item);
abstract member System.Collections.Generic.ISet<T>.Add : 'T -> bool
override this.System.Collections.Generic.ISet<T>.Add : 'T -> bool
Function Add (item As T) As Boolean Implements ISet(Of T).Add

매개 변수

item
T

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

반환

요소가 집합에 추가되었으면 true이고, 요소가 집합에 이미 있으면 false입니다.

구현

설명

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

적용 대상