Interactive Extensions
Interactive Extensions
Ix-Main Namespaces
System.Linq
AsyncQueryable Class
AsyncQueryable Methods
Contains Method
Contains(TSource) Method (IAsyncQueryable(TSource), TSource)
Contains(TSource) Method (IAsyncQueryable(TSource), TSource, IEqualityComparer(TSource))
Contains(TSource) Method (IAsyncQueryable(TSource), TSource, CancellationToken)
Contains(TSource) Method (IAsyncQueryable(TSource), TSource, IEqualityComparer(TSource), CancellationToken)
AsyncQueryable
Contains
TSource
Method (IAsyncQueryable
TSource
,
TSource
)
Namespace:
System.Linq
Assembly:
System.Interactive.Async.Providers (in System.Interactive.Async.Providers.dll) Version: 1.2.0.0
Syntax
C#
Copy
public
static
Task
<
bool
>
Contains
<TSource>(
this
IAsyncQueryable
<TSource>
source
, TSource
value
)
Parameters
source
Type:
System.Linq
IAsyncQueryable
TSource
value
Type:
TSource
Type Parameters
TSource
Return Value
Type:
Task
Boolean
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncQueryable
TSource
. 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
Reference
AsyncQueryable Class
Contains Overload
System.Linq Namespace