Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ImmutableSet.RetainAll Method

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

[Visual Basic]
Public NotOverridable Sub RetainAll( _
   ByVal collection As ICollection _
) _
    Implements ISet.RetainAll
[C#]
public 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

Exceptions

Exception Type Condition
NotSupportedException  

See Also

ImmutableSet Class | Spring.Collections Namespace