StorageFile.OpenReadAsync Method

Definition

Opens a random-access stream over the current file for reading file contents.

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)

Returns

When this method completes, it returns the random-access stream (type IRandomAccessStreamWithContentType).

Implements

Attributes

Applies to