IFileSystem.OpenAppPackageFileAsync(String) Method

Definition

Opens a stream to a file contained within the app package.

public:
 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>
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.

Applies to