项目中包含的文本文件隔离存储 [英] Text file isolatedstorage included in project

查看:68
本文介绍了项目中包含的文本文件隔离存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个.text文件,我想将其包含在我的项目VS2012中,但是当将其包含在项目中时,我不知道如何从独立存储中调用它.

Tengo un archivo de texto creado y Quiero que mi  utilice este sin  de crearlo desde la misma solo quiqui queero que lo lea por que que es muy grande y  necesta >

在秘鲁的普罗旺斯省和拉洛莫州都没有人.


没有任何功能,

解决方案

将文本文件添加到项目中并将其标记为内容"类型时,该文件将被添加到构建中文件的列表中(在XAP文件中).您的应用程序可以将其作为只读文件进行访问.如果您希望该文件存在于IsolatedStorage中 (以便可以修改(即读写)),您的应用程序必须在首次运行时采取步骤,才能将文件复制到隔离存储中.

希望这会有所帮助,

标记


i have one .text file created and i want include this in my project VS2012 but when included this in the project don't know how call this from isolatedstorage.

Tengo un archivo de texto creado y quiero que mi aplicación utilice este sin necesidad de crearlo desde la misma solo quiero que lo lea por que es muy grande y necesito que lea el que esta hecho.

pero lo incluyo en el proyecto y lo llamo,como si estuviese en la raíz y me dice que no existe.


No luches para vivir, vive para luchar.

解决方案

Hi,

When you add a text file to your project, and mark it as type Content, it will be added to the list of files in your build (in your XAP file). Your application can access it as a read-only file.  If you want that file to be present in IsolatedStorage (so that it can be modifiable, i.e. read-write), your application must take steps the first time the app is run, in order to copy your file into Isolated Storage.

Hope this helps,

Mark


这篇关于项目中包含的文本文件隔离存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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