如何获取存储在Isolatedstorage中的图像的图像URL [英] How to get image url of image stored at isolatedstorage
本文介绍了如何获取存储在Isolatedstorage中的图像的图像URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们,
我有一个存储在独立存储中的位图图像我怎么能得到我的图像的网址。因为我需要图像网址来提前工作。欢迎您提出宝贵的建议。
Hi friends,
i have an bitmap image stored at isolated storage how could i get the url of my image. since i need the image url for my work ahead. your valuable suggestions are welcome thanks.
推荐答案
检查从IsolatedStoreage打开图片? - WP7 [ ^ ]和所有关于WP7隔离存储 - 读取和保存图像 [ ^ 获取信息。
Check Open Image from IsolatedStoreage? - WP7[^] and All about WP7 Isolated Storage - Read and Save Images[^] for information.
嘿,我得到了解决方案...
var uri = new Uri(ms-appdata:/// Local /+ filePathOfTheImage,UriKind.Absolute);
herems-appdata:/// Local /表示Isolatedstorage
hey i got the sol ...
var uri = new Uri("ms-appdata:///Local/" + filePathOfTheImage, UriKind.Absolute);
here "ms-appdata:///Local/" represents the Isolatedstorage
这篇关于如何获取存储在Isolatedstorage中的图像的图像URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文