Summary
Contains returns true if the specified element is in the List.
It does a linear, O(n) search. Equality is determined by calling
EqualityComparer{T}.Default.Equals.
- Namespace
- Avalonia
.Collections .Pooled - Containing Type
- PooledList
<T>
Syntax
public bool Contains(T item)
Parameters
Name | Type | Description |
---|---|---|
item | T |
Return Value
Type | Description |
---|---|
bool |