Table of Contents

Method Contains

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Contains(object)

Return true if the item belongs to this view. No assumptions are made about the item. This method will behave similarly to IList.Contains().

public virtual bool Contains(object item)

Parameters

item object

Returns

bool

Remarks

If the caller knows that the item belongs to the underlying collection, it is more efficient to call PassesFilter. If the underlying collection is only of type IEnumerable, this method is a O(N) operation