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.v18.2.dll

Declaration

public virtual void ReadAsync(
    MapFileSourceBase fileSource,
    CancellationToken token,
    VectorFileLayer layer
)
Public Overridable Sub ReadAsync(
    fileSource As MapFileSourceBase,
    token As CancellationToken,
    layer As VectorFileLayer
)

Parameters

Type Name Description
MapFileSourceBase fileSource

A MapFileSourceBase class descendant.

CancellationToken token

A CancellationToken object to monitor for cancellation requests.

VectorFileLayer layer

A VectorFileLayer object.

See Also