Remove Method
Removes the specified item reference from the collection or view.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public bool Remove(
Object? value
)
Public Function Remove (
value As Object
) As Boolean
member Remove :
value : Object -> bool
Parameters
- Object
- The object to remove.
Return Value
Boolean
True if the item was removed; otherwise false.
Exceptions
InvalidOperationException | The collection is in ItemsSource mode. |