Launcher.LaunchFileAsync | launchFileAsync methods

Applies to Windows and Windows Phone

Starts the app associated with the specified file.

Overload list

MethodDescription
LaunchFileAsync(IStorageFile) Starts the default app associated with the specified file.
LaunchFileAsync(IStorageFile, LauncherOptions) Starts the default app associated with the specified file, using the specified options.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.System
Windows::System [C++]

Metadata

Windows.winmd

See also

Samples
Association launching sample
Guidelines
Guidelines and checklist for file types and URIs
Tasks
How to launch the default app for a file
Reference
Launcher
LauncherOptions

 

 

Show:
© 2014 Microsoft