FileInformation.OpenReadAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
通过 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) 。
实现
- 属性