语言

FreezableCollection<T>.Remove(T) 方法

定义

从 FreezableCollection<T>中删除指定对象的第一个匹配项。

public:
 virtual bool Remove(T value);
public bool Remove(T value);
abstract member Remove : 'T -> bool
override this.Remove : 'T -> bool
Public Function Remove (value As T) As Boolean

参数

value
T

要删除的对象。

返回

如果在集合中发现并删除了该 事件,则为 >如果 无法在集合中找到,

实现

例外

FreezableCollection<T>被冻结(其IsFrozen属性为 true)。

适用于