删除孤立的存储文件 [英] Delete an isolated storage file

查看:105
本文介绍了删除孤立的存储文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这听起来可能非常nooby,很抱歉提前,但我学习,我已经花了近2个小时试图找出如何没有结果......

I know this may sound extremely nooby, so sorry in advance but I am learning and I have spent nearly 2 hours trying to find out how to do this now with no result...

我不知道我怎么会去删除从独立存储特定文件中的Windows Phone 7。

I'm wondering how I would go about deleting a specific file from isolated storage in windows phone 7.

在此先感谢!

推荐答案

要获取的 IsolatedStorageFile.DeleteFile

例如:

IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForApplication();
storage.DeleteFile("backup.bak");

这篇关于删除孤立的存储文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆