Sdílet prostřednictvím


FormReader.ReadNextPairAsync(CancellationToken) Metoda

Definice

Asynchronně přečte další pár hodnot 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

Další pár hodnot klíče nebo null při dosažení konce formuláře.

Platí pro