IStorageFile Interface
Definition
Represents a file. Provides information about the file and its contents, and ways to manipulate them.
public interface IStorageFile
Methods
| Name | Description |
|---|---|
| OpenReadAsync | Opens a stream for read access. |
| OpenWriteAsync | Opens stream for writing to the file. |
OpenReadAsync Method
Opens a stream for read access.
public System.Threading.Tasks.Task<System.IO.Stream> OpenReadAsync()
Returns
System.Threading.Tasks.Task<System.IO.Stream>
Exceptions
OpenWriteAsync Method
Opens stream for writing to the file.
public System.Threading.Tasks.Task<System.IO.Stream> OpenWriteAsync()
Returns
System.Threading.Tasks.Task<System.IO.Stream>