Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IAsyncEnumerator<T>.MoveNextAsync Method

Definition

Namespace:
System.Collections.Generic
Assemblies:
netstandard.dll, System.Runtime.dll
Assembly:
System.Runtime.dll
Assembly:
Microsoft.Bcl.AsyncInterfaces.dll
Assembly:
netstandard.dll
Package:
Microsoft.Bcl.AsyncInterfaces v11.0.0-preview.5.26302.115
Source:
IAsyncEnumerator.cs
Source:
IAsyncEnumerator.cs
Source:
TimeZoneNotFoundException.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Advances the enumerator asynchronously to the next element of the collection.

public:
 System::Threading::Tasks::ValueTask<bool> MoveNextAsync();
public System.Threading.Tasks.ValueTask<bool> MoveNextAsync();
abstract member MoveNextAsync : unit -> System.Threading.Tasks.ValueTask<bool>
Public Function MoveNextAsync () As ValueTask(Of Boolean)

Returns

A ValueTask<TResult> that will complete with a result of true if the enumerator was successfully advanced to the next element, or false if the enumerator has passed the end of the collection.

Applies to


Feedback

Was this page helpful?