OrderedBagTDistinctItems Method |
Enumerates all the items in the bag, but enumerates equal items
just once, even if they occur multiple times in the bag.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic IEnumerable<T> DistinctItems()
public:
IEnumerable<T>^ DistinctItems()
Return Value
Type:
IEnumerableTAn IEnumerable<T> that enumerates the unique items.
RemarksIf the bag is changed while items are being enumerated, the
enumeration will terminate with an InvalidOperationException.
See Also