Contains Method
Tests if the collection contains the specified item.
Definition
Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public bool Contains(
T item
)
Public Function Contains (
item As T
) As Boolean
abstract Contains :
item : 'T -> bool
override Contains :
item : 'T -> bool
Parameters
- T
- The item.
Return Value
Boolean
True if the collection contains the item; otherwise false.