有没有办法保存listArrays
在漫游设置中?在js中我会这样做:
var test = [];
test.push({var1:'somevalue',var2:'someotherstuff'});
但如何将其保存在:
var appData = Windows.Storage.ApplicationData.current;
var roamingSettings = appData.roamingSettings;
当我尝试设置变量时:
roamingSettings.values['myArrayList'] = test;
我收到类型冲突错误。任何想法如何解决这一问题?