Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Set.RetainAll Method

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

[Visual Basic]
Public MustOverride Sub RetainAll( _
   ByVal collection As ICollection _
) _
    Implements ISet.RetainAll
[C#]
public abstract bool RetainAll(
   ICollection collection
);

Parameters

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.

Implements

ISet.RetainAll

See Also

Set Class | Spring.Collections Namespace