WinRT漫游文件夹的大小 [英] Size of the WinRT Roaming Folder

查看:59
本文介绍了WinRT漫游文件夹的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!



我需要你的帮助男女孩:-)。

我正在搞乱Win RT制作一些应用......好吧,我喜欢使用漫游文件夹来存储一些文本文件。那么,我读过它(漫游文件夹)只能是100kb?!这个并不多,有些文本文件会比那些更大吗?我该怎么办,或者我错过了什么?



非常感谢!! :)

greetings

Hello!

I need your help guys and girls :-).
I´m messing around with Win RT to make some apps....well, I like to use the roaming folder to store some textfiles. So, I´ve read that it (the roaming folder) can only be 100kb at all?! this is not much, and some textfiles will be bigger then that? what should I do, or I´m missinformed?

thanks a lot!! :)
greetings

推荐答案

您好



您需要阅读RoamingStorageQuota的价值,以了解您的应用程序可以使用多少数据,请参阅此处:



http://msdn.microsoft.com/en-gb/library/windows/apps/windows.storage.applicationdata.roamingstoragequota [ ^ ]



Hi

you need to read the value of RoamingStorageQuota to know how much data your application can use see here:

http://msdn.microsoft.com/en-gb/library/windows/apps/windows.storage.applicationdata.roamingstoragequota[^]

var roamingStorageQuota = applicationData.roamingStorageQuota;





通常它并不多......但它不是为了存储数据而是应用程序设置和类似的东西。这个想法是,如果你的应用程序在不同的设备上运行相同的帐户,它将具有相同的状态,属性等。



如果你的应用程序需要存储一些数据你应考虑使用Azure(或其他云服务)来存储该数据,这将删除漫游文件夹的所有大小限制。



Valery。



Typically it is not much... but it is not intended to store data apart from application settings and things like that. The idea is that if you application runs with the same accounts on different devices it will have the same state, properties etc.

If your application needs to store some data you should consider using Azure (or another cloud service) to store that data, that will remove all the size constraints of the roaming folder.

Valery.


这篇关于WinRT漫游文件夹的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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