 | EnumerableExtensions.NotIn<T> Method (IEnumerable<T>,T[]) |
Returns true if enumerable does not contain a value that is equal to any of the other arguments.
Namespace:
SphinxConnector.FluentApi.Util
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
Syntaxpublic static bool NotIn<T>(
this IEnumerable<T> enumerable,
params T[] values
)
<ExtensionAttribute>
Public Shared Function NotIn(Of T) (
enumerable As IEnumerable(Of T),
ParamArray values As T()
) As Boolean
Parameters
- enumerable
- Type: System.Collections.Generic.IEnumerable<T>
The values to check for inequality. - values
- Type:T[]
The values to compare to.
Type Parameters
- T
- The type of the elements of enumerable and values.
Return Value
Type:
Booleantrue if the enumerable does not contain a value that is equal to any of the other arguments, otherwise
false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable<T>. 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