System::Collections::ObjectModel::KeyedCollection::Contains メソッド

KeyedCollection::Contains method

キーがコンテナに存在するかチェックします。

bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Contains(TKey key)
パラメーター説明
キーTKey検索するキー。

ReturnValue

キーが見つかった場合は true、そうでない場合は false。

参照