Skip to main content

Remove Method

Removes an item from the collection.

Definition​

Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public virtual bool Remove(
T item
)

Parameters​

  T
The item.

Return Value​

Boolean
True if the item was found and removed, otherwise false.

Implements​

ICollection(T).Remove(T)

See Also​

Reference​

AvaloniaList(T) Class
Avalonia.Collections Namespace