Udostępnij za pośrednictwem


RandomAccessStreamReference.CreateFromStream(IRandomAccessStream) Method

Definition

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.

Applies to