DefinitionCollection<T>.Remove(T) 方法

定义

DefinitionCollection<T> 中删除 IDefinition,如果项已删除,则返回 true

public bool Remove(T item);
abstract member Remove : 'T -> bool
override this.Remove : 'T -> bool

参数

item
T

要从此 DefinitionCollection<T> 中删除的 IDefinition

返回

System.Boolean

如果 item 位于 DefinitionCollection<T> 中,因而被删除,则为 true。 如果 item 不在 DefinitionCollection<T> 中,则为 false

实现

System.Collections.Generic.ICollection`1.Remove(`0)

适用于