FileSystemImplementation.OpenAppPackageFileAsync(String) 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 stream to a file contained within the app package.
public:
virtual System::Threading::Tasks::Task<System::IO::Stream ^> ^ OpenAppPackageFileAsync(System::String ^ filename);
public System.Threading.Tasks.Task<System.IO.Stream> OpenAppPackageFileAsync(string filename);
abstract member OpenAppPackageFileAsync : string -> System.Threading.Tasks.Task<System.IO.Stream>
override this.OpenAppPackageFileAsync : string -> System.Threading.Tasks.Task<System.IO.Stream>
Public Function OpenAppPackageFileAsync (filename As String) As Task(Of Stream)
Parameters
- filename
- String
The name of the file (excluding the path) to load from the app package.
Returns
A Stream containing the (read-only) file data.