System::Collections::Generic::BaseSet::TryAdd 메서드

BaseSet::TryAdd method

집합에 요소를 추가합니다.

bool System::Collections::Generic::BaseSet<T, SET_T>::TryAdd(const T &item)
매개변수형식설명
항목const T&추가할 항목.

ReturnValue

요소가 추가되면 true, 이미 존재하면 false.

또 보기