ImmutableSortedSet<T>.Builder.Remove(T) 方法

定义

从集内移除指定对象的第一个匹配项。Removes the first occurrence of the specified object from the set.

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

参数

item
T

要从集内移除的对象。The object to remove from the set.

返回

如果从集内移除了 true,则为 item;如果在集内找不到 false,则为 itemtrue if item was removed from the set; false if item was not found in the set.

实现

适用于