Skip to main content

MapFileReaderBase.ReadAsync(MapFileSourceBase, CancellationToken, VectorFileLayer) Method

Asynchronously reads a sequence of bytes from the specified file source and advances the position within the stream by the number of bytes read.

Namespace: DevExpress.UI.Xaml.Map

Assembly: DevExpress.UI.Xaml.Map.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public virtual void ReadAsync(
    MapFileSourceBase fileSource,
    CancellationToken token,
    VectorFileLayer layer
)

Parameters

Name Type Description
fileSource MapFileSourceBase

A MapFileSourceBase class descendant.

token CancellationToken

A CancellationToken object to monitor for cancellation requests.

layer VectorFileLayer

A VectorFileLayer object.

See Also