APRlib

SupportClass.CollectionSupport.RetainAll Method (ICollection)

Removes all the elements that aren't contained into the specified collection.

public virtual bool RetainAll(
   ICollection collection
);

Parameters

collection
The collection used to verify the elements that will be retained.

Return Value

Returns true if all the elements were successfully removed. Otherwise returns false.

See Also

SupportClass.CollectionSupport Class | (global) Namespace | SupportClass.CollectionSupport.RetainAll Overload List