共用方式為


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) 。

實作

屬性

適用於

另請參閱