更新时间:2023-11-08 11:18:04
你必须使用 LaunchFileAsync
Launcher
类的方法.示例:
You have to use the LaunchFileAsync
method of Launcher
class. Example:
// Access the file.
StorageFile pdfFile = await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFileAsync("file.pdf");
// Launch the pdf file.
Windows.System.Launcher.LaunchFileAsync(pdfFile);
您会在此处找到更多信息:
You will find more info here: