Click or drag to resize
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
)

Parameters

accessMode
Type: Windows.StorageFileAccessMode
The type of access to allow.

Return Value

Type: IAsyncOperationIRandomAccessStream
When 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