RandomAccessStreamReference RandomAccessStreamReference RandomAccessStreamReference RandomAccessStreamReference RandomAccessStreamReference Class

Definition

Provides random access of data in input and output streams for a file.

public : sealed class RandomAccessStreamReference : IRandomAccessStreamReference
struct winrt::Windows::Storage::Streams::RandomAccessStreamReference : IRandomAccessStreamReference
public sealed class RandomAccessStreamReference : IRandomAccessStreamReference
Public NotInheritable Class RandomAccessStreamReference Implements IRandomAccessStreamReference
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

CreateFromFile(IStorageFile) CreateFromFile(IStorageFile) CreateFromFile(IStorageFile) CreateFromFile(IStorageFile) CreateFromFile(IStorageFile)

Creates a random access stream around a file.

CreateFromStream(IRandomAccessStream) CreateFromStream(IRandomAccessStream) CreateFromStream(IRandomAccessStream) CreateFromStream(IRandomAccessStream) CreateFromStream(IRandomAccessStream)

Creates a random access stream around the specified stream.

CreateFromUri(Uri) CreateFromUri(Uri) CreateFromUri(Uri) CreateFromUri(Uri) CreateFromUri(Uri)

Creates a random access stream around the specified URI.

OpenReadAsync() OpenReadAsync() OpenReadAsync() OpenReadAsync() OpenReadAsync()

Opens a stream for random access.

See Also