System::Collections::ObjectModel::KeyedCollection::Remove 方法

KeyedCollection::Remove method

从容器中移除键。

bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Remove(TKey key)
参数类型描述
TKey要移除的键。

ReturnValue

如果找到并移除键则为 true,否则为 false。

另见