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。

参照