Share via


FileInformation.OpenReadAsync 方法

定义

通过 StorageFile 打开只读的随机访问流。

public:
 virtual IAsyncOperation<IRandomAccessStreamWithContentType ^> ^ OpenReadAsync() = OpenReadAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IRandomAccessStreamWithContentType> OpenReadAsync();
IAsyncOperation<IRandomAccessStreamWithContentType> OpenReadAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IRandomAccessStreamWithContentType> OpenReadAsync();
public IAsyncOperation<IRandomAccessStreamWithContentType> OpenReadAsync();
function openReadAsync()
Public Function OpenReadAsync () As IAsyncOperation(Of IRandomAccessStreamWithContentType)

返回

当此方法成功完成时,它将返回一个只读的随机访问流 (类型 IRandomAccessStreamWithContentType) 。

实现

属性

适用于

另请参阅