Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionUtils.RemoveAll Method

Removes all the elements from the target collection that are contained in the source collection.

[Visual Basic]
Public Shared Sub RemoveAll( _
   ByVal targetCollection As ICollection, _
   ByVal sourceCollection As ICollection _
)
[C#]
public static void RemoveAll(
   ICollection targetCollection,
   ICollection sourceCollection
);

Parameters

targetCollection
Collection where the elements will be removed.
sourceCollection
Elements to remove from the target collection.

See Also

CollectionUtils Class | Spring.Util Namespace