Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RandomAccessStreamReference class

Applies to Windows and Windows Phone

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

Syntax


var randomAccessStreamReference = Windows.Storage.Streams.RandomAccessStreamReference.createFromFile();
var randomAccessStreamReference = Windows.Storage.Streams.RandomAccessStreamReference.createFromUri();
var randomAccessStreamReference = Windows.Storage.Streams.RandomAccessStreamReference.createFromStream();

Attributes

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

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

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

See also

RandomAccessStream
RandomAccessStreamOverStream

 

 

Show:
© 2014 Microsoft