FormReader.ReadNextPairAsync(CancellationToken) Metoda

Definice

Asynchronně přečte dvojici hodnot dalšího klíče z formuláře.

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

Návraty

Task<Nullable<KeyValuePair<String,String>>>

Při dosažení konce formuláře se zobrazí dvojice hodnot dalšího klíče nebo hodnota null.

Platí pro