Click or drag to resize

containsQueriesContainsAny Method (IList, IEnumerable)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Determines whether the target contains any of specified needles

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static bool ContainsAny(
	this IList target,
	IEnumerable needles
)
Request Example View Source

Parameters

target
Type: System.CollectionsIList
The target.
needles
Type: System.CollectionsIEnumerable
The needles.

Return Value

Type: Boolean
true if the specified needles contains any; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IList. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also