PostSharp//API Reference/Post­Sharp.​Patterns.​Collections/Advisable­Collection<T>/Contains
Open sandboxFocus

Method Contains

Contains(T)

Determines whether the ICollection<T> contains a specific value.

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

The object to locate in the ICollection<T>.

Returns
Type Description
Boolean

true if item is found in the ICollection<T>; otherwise, false.