 | EnumerableExtensionsNotInT Method (IEnumerableT, String) |
Returns true if enumerable does not contain a value that is equal to any of the elements of the user variable.
Namespace: SphinxConnector.FluentApi.UtilAssembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntaxpublic static bool NotIn<T>(
this IEnumerable<T> enumerable,
string userVariable
)
<ExtensionAttribute>
Public Shared Function NotIn(Of T) (
enumerable As IEnumerable(Of T),
userVariable As String
) As Boolean
Parameters
- enumerable
- Type: System.Collections.GenericIEnumerableT
The values to check for inequality. - userVariable
- Type: SystemString
The user variable.
Type Parameters
- T
- The type of the elements of enumerable.
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
IEnumerableT. 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