Jaa


ApplicationData.RoamingFolder Property

Definition

Gets the root folder in the roaming app data store.

public:
 property StorageFolder ^ RoamingFolder { StorageFolder ^ get(); };
StorageFolder RoamingFolder();
public StorageFolder RoamingFolder { get; }
var storageFolder = applicationData.roamingFolder;
Public ReadOnly Property RoamingFolder As StorageFolder

Property Value

The file system folder that contains the files.

Remarks

Warning

Roaming data and settings is no longer supported as of Windows 11. The recommended replacement is Azure App Service. Azure App Service is widely supported, well documented, reliable, and supports cross-platform/cross-ecosystem scenarios such as iOS, Android and web. Settings stored here no longer roam (as of Windows 11), but the settings store is still available.

This documentation applies to Windows 10 versions 1909 and lower.

The sync engine has restrictions on the file name conventions that you must follow to ensure the items in the roaming folder can roam. Be sure that your file and folder names do not contain leading whitespace. The sync engine may limit the total size of settings and files that can roam.

You can access files in the roaming app data store using the "ms-appdata:///roaming/" protocol. For example:

<img src="ms-appdata:///roaming/myFile.png" alt="" />

Applies to

See also