RandomAccessStreamReference.CreateFromStream(IRandomAccessStream) 方法

定义

围绕指定的流创建随机访问流。

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

参数

stream
IRandomAccessStream

源流。

返回

封装流的随机访问

适用于