CircularListTRemove Method
Removes the first occurrence of the specific
item from the
CircularListT.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
public bool Remove(
T item
)
Public Function Remove (
item As T
) As Boolean
public:
virtual bool Remove(
T item
) sealed
abstract Remove :
item : 'T -> bool
override Remove :
item : 'T -> bool
- item T
- The object to remove from the CircularListT.
Boolean if
item was successfully removed from the
CircularListT; otherwise,
.
This method also returns false if
item is not found in the original list.
ICollectionTRemove(T) If the position of the element to remove is known it is recommended to use the RemoveAt method instead.
This method has an O(n) cost.