Removes the first occurrence of a specific object from the collection and keeps order of the items in the collection. The item to remove. True if cannot remove item from the collection because cannot find it, otherwise false.
| 623 | /// <param name="item">The item to remove.</param> |
| 624 | /// <returns>True if cannot remove item from the collection because cannot find it, otherwise false.</returns> |
| 625 | bool RemoveKeepOrder(const T& item) |
| 626 | { |
| 627 | const int32 index = Find(item); |
| 628 | if (index == -1) |
| 629 | return true; |
| 630 | RemoveAtKeepOrder(index); |
| 631 | return false; |
| 632 | } |
| 633 | |
| 634 | /// <summary> |
| 635 | /// Removes all occurrence of a specific object from the collection and keeps order of the items in the collection. |
no test coverage detected