ApplicationData.SharedLocalFolder Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the root folder in the shared app data store.
public:
property StorageFolder ^ SharedLocalFolder { StorageFolder ^ get(); };
StorageFolder SharedLocalFolder();
public StorageFolder SharedLocalFolder { get; }
var storageFolder = applicationData.sharedLocalFolder;
Public ReadOnly Property SharedLocalFolder As StorageFolder
The file system folder that contains files.
SharedLocalFolder is only available if the device has the appropriate group policy. If the group policy is not enabled, the device administrator must enable it. From Local Group Policy Editor, navigate to Computer Configuration\Administrative Templates\Windows Components\App Package Deployment, then change the setting "Allow a Windows app to share application data between users" to "Enabled."
After the group policy is enabled, SharedLocalFolder can be accessed.
Product | Versions |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |