Windows Dev Center

RandomAccessStreamReference class

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

Syntax


Public NotInheritable Class RandomAccessStreamReference
    Implements IRandomAccessStreamReference

Members

The RandomAccessStreamReference class has these types of members:

Methods

The RandomAccessStreamReference class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
CreateFromFile Creates a random access stream around a file.
CreateFromStream Creates a random access stream around the specified stream.
CreateFromUri Creates a random access stream around the specified URI.
OpenReadAsync Opens a stream for random access.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Muse()]
[Version(0x06020000)]

See also

Object
IRandomAccessStreamReference
RandomAccessStream
RandomAccessStreamOverStream

 

 

Show:
© 2015 Microsoft