Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISet.RetainAll Method

Retains only the elements in this set that are contained in the specified collection.

[Visual Basic]
Public Sub RetainAll( _
   ByVal collection As ICollection _
bool RetainAll(
   ICollection collection


The collection that defines the set of elements to be retained.

Return Value

true if this set changed as a result of this operation.

See Also

ISet Interface | Spring.Collections Namespace