Udostępnij za pośrednictwem


FormReader.ReadNextPairAsync(CancellationToken) Metoda

Definicja

Asynchronicznie odczytuje następną parę wartości klucza z formularza.

public System.Threading.Tasks.Task<System.Collections.Generic.KeyValuePair<string,string>?> ReadNextPairAsync (System.Threading.CancellationToken cancellationToken = default);
member this.ReadNextPairAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Nullable<System.Collections.Generic.KeyValuePair<string, string>>>
Public Function ReadNextPairAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Nullable(Of KeyValuePair(Of String, String)))

Parametry

cancellationToken
CancellationToken

Zwraca

Następna para wartości klucza lub wartość null po osiągnięciu końca formularza.

Dotyczy