PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Keyed­Collection<TKey, TItem>Contains
Open sandboxFocus

AdvisableKeyedCollection<TKey, TItem>.Contains Method

Contains(TKey)

Determines whether the collection contains an element with the specified key.

Declaration
public bool Contains(TKey item)
Parameters
Type Name Description
TKey item

The key to locate in the collection.

Returns
Type Description
System.Boolean

true if the collection contains an element with the specified key; otherwise, false.