APRlib

SupportClass.SetSupport.RetainAll Method (ICollection)

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

public virtual bool RetainAll(
   ICollection collection
);

Parameters

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

Return Value

True if all the elements were successfully removed, false otherwise.

See Also

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