The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.1.dll


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


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