Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
CollectionUtils..::.RemoveAll Method
CollectionUtils Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Removes all elements contained in the source collection from the target collection.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    public static bool RemoveAll(
    	ICollection target,
    	ICollection source
    )

#### Parameters

target
  Type: System.Collections..::.ICollection
  Collection from which the elements should be removed.

source
  Type: System.Collections..::.ICollection
  Collection of elements to remove.

#### Return Value

true if at least one element was removed, false otherwise.

# Remarks

When collection is IDictionary objects in source collection should be DictionaryEntrys.

# See Also

CollectionUtils Class
Tangosol.Util Namespace