摘要:
假设WinRT组件项目的目录结构如下图,现在需要读取pista_454_big.jpg文件:我在Class1中写一个名为GetFile的方法,其中的代码如下:StorageFolder installedLocation = Windows.ApplicationModel.Package.Current.InstalledLocation;StorageFolder subfolder1 = await installedLocation.GetFolderAsync("WindowsRuntimeComponent1");StorageFolder subfolder2 阅读全文