Table of Contents

Method Remove

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Remove(object?)

Removes the first occurrence of a specific object from the ICollection<T>.

public bool Remove(object? item)

Parameters

item object

The object to remove from the ICollection<T>.

Returns

bool

true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.