AdvisableKeyedCollection<TKey, TItem>.Contains Method (TKey) |
Determines whether the collection contains an element with the specified key.
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.15.0 (6.5.15.0)
C#
public bool Contains( TKey item )
Parameters
- item
- Type: TKey
The key to locate in the collection.
Return Value
Type: Booleantrue if the collection contains an element with the specified key; otherwise, false.