FileSystem.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:
static System::Threading::Tasks::Task<System::IO::Stream ^> ^ OpenAppPackageFileAsync(System::String ^ filename);
public static System.Threading.Tasks.Task<System.IO.Stream> OpenAppPackageFileAsync (string filename);
static member OpenAppPackageFileAsync : string -> System.Threading.Tasks.Task<System.IO.Stream>
Public Shared 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.