Edit

Share via


IAsyncEnumerator<T>.MoveNextAsync Method

Definition

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