| IGDStorageFileOpenAsync Method |
Opens a random-access stream over the file.
Namespace:
GD
Assembly:
GD (in GD.dll) Version: 255.255.255.255
Syntax IAsyncOperation<IRandomAccessStream> OpenAsync(
FileAccessMode accessMode
)
IAsyncOperation<IRandomAccessStream^>^ OpenAsync(
[InAttribute] FileAccessMode^ accessMode
)
function OpenAsync(accessMode);
Parameters
- accessMode
- Type: Windows.StorageFileAccessMode
The type of access to allow.
Return Value
Type:
IAsyncOperationIRandomAccessStreamWhen this method completes, it returns the random-access stream (type
IRandomAccessStream).
Remarks If you simply want to open a file in your app, see the
OpenAsync method of the
GDStorageFile class.
See Also