XAP 存档中的文件加载到内存中的顺序是什么?
当 wp7 应用程序启动时,即主 dll 加载到内存中或首次从代码引用时,图像(类型内容)是否加载到内存中。加载的图片会自动缓存吗?
Visual Studio 中是否有一种方法可以查看 XAP 中的文件加载到内存中的顺序?
Are images (type content) loaded into memory when the wp7 app starts i.e. the main dll is loaded into memory or when first referenced from code. Are the loaded images cached automatically?
Also is there a way in visual studio to see the order in which files in the XAP are loaded into memory?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
构建操作设置为
Resource
的映像在启动时与主 XAP 一起加载。构建操作设置为Content
的图像会在引用时加载。Images with build action set to
Resource
are loaded up along with the main XAP at startup. Images with build action set toContent
are loaded up when they are referenced.