| DequeTContains Method |
Determines whether the
DequeT contains a specific value.
Namespace: DigitalRune.CollectionsAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax public bool Contains(
T item
)
Public Function Contains (
item As T
) As Boolean
public:
virtual bool Contains(
T item
) sealed
abstract Contains :
item : 'T -> bool
override Contains :
item : 'T -> bool
Parameters
- item
- Type: T
The object to locate in the DequeT.
Return Value
Type:
Boolean if
item is found in the
DequeT;
otherwise,
.
Implements
ICollectionTContains(T)Remarks
This method determines equality using the default equality comparer
Default for T, the type of values
in the DequeT.
This method performs a linear search; therefore, this method is an O(n) operation, where n
is Count.
See Also