ApplicationDataContainer.Locality | locality property

Gets the type (local or roaming) of the app data store that is associated with the current settings container.

Syntax


var locality = applicationDataContainer.locality;

Property value

Type: ApplicationDataLocality

One of the enumeration values.

Remarks

There is no temporary settings container, so the ApplicationDataLocality.Temporary value can't be returned by this property.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

ApplicationDataContainer

 

 

Show:
© 2015 Microsoft