Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Determines whether all elements from the source collection are contained in the target collection.

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

Syntax

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

Parameters

target
Type: System.Collections..::..ICollection
Collection where elements are searched for.
source
Type: System.Collections..::..ICollection
Collection with objects to locate in the collection.

Return Value

true if all the elements are found in the collection, false otherwise.

Remarks

When target collection is IDictionary, source collection elements should be DictionaryEntrys.

Exceptions

ExceptionCondition
System..::..NotSupportedException If target's type is an unknown collection type.

See Also