User Tools

Site Tools


notes:uwp:appsettings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
notes:uwp:appsettings [2016/11/10]
admin
notes:uwp:appsettings [2016/11/10]
admin
Line 1: Line 1:
 ====== Settings in UWP ====== ====== Settings in UWP ======
- 
-You can store the following WinRT data types in //​LocalSettings//:​ Boolean, UInt8, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Char, String, DateTimeOffset,​ TimeSpan, Guid, Point, Size, and Rect as well as single-dimension arrays (max 8 KB) of these data types. 
- 
-Note: The //Values// property returns an //​ApplicationDataContainerSettings//​ object, which implements the //​IObservableMap<​String,​ Object>//​ interface, which offers a //​MapChanged//​ event that is raised whenever an item in the collection changes. 
  
 Example: Store, read, and remove simple settings using **ApplicationData.Current.LocalSettings**:​ Example: Store, read, and remove simple settings using **ApplicationData.Current.LocalSettings**:​
Line 224: Line 220:
   * Expand the HKEY_LOCAL_ MACHINE node.   * Expand the HKEY_LOCAL_ MACHINE node.
   * Select the key name you just created. The data is shown as byte arrays.   * Select the key name you just created. The data is shown as byte arrays.
 +
 +Notes
 +
 +  * You can store the following WinRT data types in //​LocalSettings//:​ Boolean, UInt8, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Char, String, DateTimeOffset,​ TimeSpan, Guid, Point, Size, and Rect as well as single-dimension arrays (max 8 KB) of these data types.
 +
 +  * The //Values// property returns an //​ApplicationDataContainerSettings//​ object, which implements the //​IObservableMap<​String,​ Object>//​ interface, which offers a //​MapChanged//​ event that is raised whenever an item in the collection changes.
  
  
notes/uwp/appsettings.txt ยท Last modified: 2017/02/23 by admin