Skip to content

Commit

Permalink
Merge pull request #2490 from jonwis/patch-1
Browse files Browse the repository at this point in the history
Clarify behavior of AppDataPaths::Get* and properties
  • Loading branch information
alvinashcraft authored Feb 5, 2025
2 parents 1773497 + 089fb32 commit 31b2e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows.storage/appdatapaths.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AppDataPaths returns paths to commonly used application folders based on the [KN
## -remarks
This class returns paths that are always isolated per the caller’s context. For example, this will match expectations of cross-platform app developers who might have used “private” versions of documents in the past. There is no legacy COM interop interface for this type.

Requesting folder locations from an app that doesn’t have a package identity will fail (for example, [GetDefault](appdatapaths_getdefault_846721868.md) and [GetForUser](appdatapaths_getforuser_2058550280.md) will both return null). This ensures there are no migration issues if an app depends on the per-app locations being shared (Win32), or if the app paths change when using the Desktop Bridge.
Requesting app-specific folder locations from an app without package identity (for example, [LocalAppData](appdatapaths_localappdata.md)) will fail. This ensures there are no migration issues if an app depends on the per-app locations being shared (Win32), or if the app paths change when using the Desktop Bridge.

## -see-also

Expand Down

0 comments on commit 31b2e4a

Please sign in to comment.