System::Collections::Generic::ICollection::Remove 方法

ICollection::Remove method

从集合中删除元素。

virtual bool System::Collections::Generic::ICollection<T>::Remove(const T &item)=0
参数类型描述
const T&要移除的项。

ReturnValue

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

另见