FileSystemImplementation.OpenAppPackageFileAsync(String) Method

Definition

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.

Implements

Applies to