System::Collections::Concurrent::ConcurrentDictionary::Remove 方法

ConcurrentDictionary::Remove method

从容器中移除元素。

virtual bool System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::Remove(const TKey &key) override
参数类型描述
const TKey&要删除元素的键。

ReturnValue

如果找到并删除了元素则为 true,否则为 false。

另见