RandomAccessStreamReference.CreateFromStream(IRandomAccessStream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a random access stream around the specified stream.
public:
static RandomAccessStreamReference ^ CreateFromStream(IRandomAccessStream ^ stream);
static RandomAccessStreamReference CreateFromStream(IRandomAccessStream const& stream);
public static RandomAccessStreamReference CreateFromStream(IRandomAccessStream stream);
function createFromStream(stream)
Public Shared Function CreateFromStream (stream As IRandomAccessStream) As RandomAccessStreamReference
Parameters
- stream
- IRandomAccessStream
The source stream.
Returns
The random access stream that encapsulates stream.