Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.04 KB

appdatapaths.md

File metadata and controls

23 lines (15 loc) · 1.04 KB
-api-id -api-type
T:Windows.Storage.AppDataPaths
winrt class

Windows.Storage.AppDataPaths

-description

AppDataPaths returns paths to commonly used application folders based on the KNOWNFOLDERID naming pattern.

-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 and GetForUser 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.

-see-also

-examples