Click or drag to resize

CollectionUtilsContainsAll Method

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

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static bool ContainsAll(
	ICollection target,
	ICollection source
)

Parameters

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

Return Value

Type: Boolean
true if all the elements are found in the collection, false otherwise.
Exceptions
ExceptionCondition
NotSupportedException If target's type is an unknown collection type.
Remarks
When target collection is IDictionary, source collection elements should be DictionaryEntrys.
See Also