IStorageFile.OpenAsync(FileAccessMode) IStorageFile.OpenAsync(FileAccessMode) IStorageFile.OpenAsync(FileAccessMode) IStorageFile.OpenAsync(FileAccessMode) IStorageFile.OpenAsync(FileAccessMode) Method

Definition

Opens a random-access stream over the file.

public : IAsyncOperation<IRandomAccessStream> OpenAsync(FileAccessMode accessMode)
IAsyncOperation<IRandomAccessStream> OpenAsync(FileAccessMode accessMode) const;
public IAsyncOperation<IRandomAccessStream> OpenAsync(FileAccessMode accessMode)
Public Function OpenAsync(accessMode As FileAccessMode) As IAsyncOperation(Of IRandomAccessStream)
Windows.Storage.IStorageFile.openAsync(accessMode).done( /* Your success and error handlers */ );

Parameters

accessMode
FileAccessMode FileAccessMode FileAccessMode

The type of access to allow.

Returns

See also