共用方式為


DefinitionCollection<T>.Remove(T) Method

Definition

Removes a IDefinition from this DefinitionCollection<T> and returns true if the item was removed.

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

Parameters

item
T

The IDefinition to remove from this DefinitionCollection<T>.

Returns

System.Boolean

true if item was in this DefinitionCollection<T> and was therefore removed. false if item was not in this DefinitionCollection<T>.

Implements

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

Applies to