Interactive Extensions
Interactive Extensions
Ix-Main Namespaces
System.Collections.Generic
AsyncEnumerator Class
AsyncEnumerator Methods
MoveNext(T) Method
AsyncEnumerator
MoveNext
T
Method
Advances the enumerator to the next element in the sequence, returning the result asynchronously.
Namespace:
System.Collections.Generic
Assembly:
System.Interactive.Async (in System.Interactive.Async.dll) Version: 1.2.0.0
Syntax
C#
Copy
public
static
Task
<
bool
>
MoveNext
<T>(
this
IAsyncEnumerator
<T>
enumerator
)
Parameters
enumerator
Type:
System.Collections.Generic
IAsyncEnumerator
T
Type Parameters
T
Return Value
Type:
Task
Boolean
Task containing the result of the operation: true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the sequence.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncEnumerator
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
Reference
AsyncEnumerator Class
System.Collections.Generic Namespace