System::Collections::Generic::List::Contains メソッド

List::Contains method

リストに項目が存在するか確認します。

bool System::Collections::Generic::List<T>::Contains(const T &item) const override
パラメーター説明
項目const T&検索対象の項目。

ReturnValue

項目が見つかった場合は true、そうでなければ false。

参照