| RankedBagTRemove Method (T) |
Removes all occurrences of the supplied item from the bag.
Namespace:
Kaos.Collections
Assembly:
KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax public bool Remove(
T item
)
Parameters
- item
- Type: T
The item to remove.
Return Value
Type:
Booleantrue if any items were removed; otherwise
false.
Implements
ICollectionTRemove(T)Remarks
To limit a remove to a single occurrences of an item, use Remove(T, Int32).
This is a O(log n) operation where n is Count.
See Also