更新时间:2023-11-08 10:43:22
您必须使用Launcher类的rel =" nofollow> LaunchFileAsync
方法.示例:
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: