System::Collections::Generic::ICollection::Remove method

ICollection::Remove method

从集合中删除元素。

virtual bool System::Collections::Generic::ICollection<T>::Remove(const T &item)=0
ParameterType描述
itemconst T&要删除的项。

ReturnValue

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

另见