RandomAccessStreamReference class
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
- MarshalingBehaviorAttribute(Agile)
- MuseAttribute()
- StaticAttribute(Windows.Storage.Streams.IRandomAccessStreamReferenceStatics, NTDDI_WIN8)
- VersionAttribute(NTDDI_WIN8)
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.
| Method | Description |
|---|---|
| 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 |
|
|
Metadata |
|
See also
Build date: 2/25/2013
