码迷,mamicode.com
首页 > 其他好文 > 详细

WP runtime local setting

时间:2015-06-04 20:55:48      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:

https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.localsettings.ASPx

var localSettings = Windows.Storage.ApplicationData.Current.LocalSettings; // Create a simple setting localSettings.Values["exampleSetting"] = "Hello Windows"; // Read data from a simple setting Object value = localSettings.Values["exampleSetting"]; if (value == null) { // No data } else { // Access data in value } // Delete a simple setting localSettings.Values.Remove("exampleSetting");

WP runtime local setting

标签:

原文地址:http://www.cnblogs.com/yibinpan/p/4552898.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!