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

KeyedCollection::Remove method

从容器中移除键。

bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Remove(TKey key)
ParameterType描述
TKey要删除的键。

ReturnValue

如果找到并删除键则返回 true,否则返回 false。

另见