IsolatedStorage文件读写
来源:互联网 发布:js li 编辑:程序博客网 时间:2024/06/12 00:58
- IsolatedStorageFile _isf;
- public Page1()
- {
- InitializeComponent();
- _isf = IsolatedStorageFile.GetUserStoreForApplication();
- }
- // 写操作
- IsolatedStorageFileStream fileStream = new IsolatedStorageFileStream("test.txt", FileMode.Create, FileAccess.Write, _isf);
- StreamWriter writer = new StreamWriter(fileStream);
- writer.WriteLine("IsolatedStorage");
- writer.Close();
- // 读操作
- IsolatedStorageFileStream fileStream = new IsolatedStorageFileStream("test.txt", FileMode.Open, FileAccess.Read, _isf);
- StreamReader reader = new StreamReader(fileStream);
- this.PageTitle.Text = reader.ReadToEnd();
- reader.Close();
- IsolatedStorage文件读写
- WP7 IsolatedStorage--通过XmlSerializer读写XML文件
- WP7 IsolatedStorage--通过XmlWriter读写XML文件
- WP7 IsolatedStorage--读取、保存图片文件
- WP7 IsolatedStorage--读取、保存图片文件
- WP7录音-IsolatedStorage保存wav文件-IsolatedStorage上传wav录音文件(完整版)
- WP7--IsolatedStorage类初识获取存储的所有文件和文件夹
- Using IsolatedStorage in Silverlight3
- 独立文件系统(IsolatedStorage)
- 呈現IsolatedStorage中的多媒體資
- windows phone7 IsolatedStorage
- 文件读写、剪贴板读写
- 读写文件
- 文件读写
- 读写文件
- 读写文件
- 文件读写
- 读写文件
- Java Load Generator安装配置
- Java和PHP在Web开发方面的八大对比 出处:IT专家网
- 方向盘正确打法
- int的一点事,读《深入C#内存管理来分析值类型&引用类型,装箱&拆箱,堆栈几个概念组合之间的区别》
- 100本书的100句话,句句直刺心底!
- IsolatedStorage文件读写
- Prototype源码学习之trycatch妙用
- COM三大接口:IUnknown、IClassFactory、IDispatch
- 让你的linux操作系统更加安全
- w3wp.exe(IIS ) CPU 占用 100% 的常见原因及解决办法
- USB之枚举
- 电脑设置保护眼睛
- C++异常机制
- flex AdvancedDataGrid的使用1