System::Collections::Generic::IDictionary::Remove 方法

IDictionary::Remove method

从容器中移除键。

virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::Remove(const TKey &key)=0
参数类型描述
const TKey&要移除的键。

ReturnValue

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

另见