Dela via


FileInformation.OpenReadAsync Method

Definition

Opens a read-only, random-access stream over the 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)

Returns

When this method completes successfully, it returns a read-only, random-access stream (type IRandomAccessStreamWithContentType).

Implements

Attributes

Applies to

See also