StorageFile.OpenReadAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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