Windows.Storage.ApplicationDataContainerSettings

December 9, 2020 ยท View on GitHub

-description

Provides access to the settings in a settings container. The ApplicationDataContainer.Values property returns an object that can be cast to this type.

-remarks

To get an app's local settings, do the following things. These steps are demonstrated in the LocalSettings example.

  1. Get the value of the static ApplicationData.Current property. This property returns a data store of type ApplicationData.
  2. Get the value of the data store's LocalSettings property. This property returns a data container of type ApplicationDataContainer.
  3. Read the Values property of the data container. This property returns a group of settings of type IPropertySet, which can be cast to the ApplicationDataContainerSettings type.

Collection member lists

Note that for JavaScript, ApplicationDataContainerSettings supports using an index to access items.

-examples

-see-also

Store and retrieve settings and other app data, ApplicationData, ApplicationDataCompositeValue, ApplicationDataContainer, Application data sample