共用方式為


DefinitionCollection<T>.Contains(T) Method

Definition

Returns a Boolean value that indicates whether or not this DefinitionCollection<T> contains the specified IDefinition.

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

Parameters

item
T

The IDefinition to check for in this DefinitionCollection<T> .

Returns

System.Boolean

Implements

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

Applies to