Method RetainAll
RetainAll(Collections.Generic.IEnumerable<T>)
Remove all items not in some other collection from this one. If this collection has bag semantics, take multiplicities into account.
Declaration
void RetainAll(Collections.Generic.IEnumerable<T> items)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<T> | items | The items to retain. |